Struct crossbeam_channel::flavors::list::Block
source · struct Block<T> {
next: AtomicPtr<Block<T>>,
slots: [Slot<T>; 31],
}
Expand description
A block in a linked list.
Each block in the list can hold up to BLOCK_CAP
messages.
Fields§
§next: AtomicPtr<Block<T>>
The next block in the linked list.
slots: [Slot<T>; 31]
Slots for messages.
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Block<T>
impl<T> !RefUnwindSafe for Block<T>
impl<T> Send for Block<T>where
T: Send,
impl<T> !Sync for Block<T>
impl<T> Unpin for Block<T>where
T: Unpin,
impl<T> !UnwindSafe for Block<T>
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