Struct rtic_syntax::analyze::Channel
source · pub struct Channel {
pub capacity: u8,
pub tasks: BTreeSet<Task>,
}
Expand description
A channel used to send messages
Fields§
§capacity: u8
The channel capacity
tasks: BTreeSet<Task>
Tasks that can be spawned on this channel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl !Send for Channel
impl !Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more