pub struct Channel {
pub capacity: u8,
pub ceiling: Ceiling,
pub tasks: BTreeSet<Task>,
}
Expand description
A channel between cores used to send messages
Fields§
§capacity: u8
The channel capacity
ceiling: Ceiling
The (sender side) priority ceiling of this SPSC channel
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