Struct crossbeam_channel::flavors::array::ArrayToken
source · pub(crate) struct ArrayToken {
slot: *const u8,
stamp: usize,
}
Expand description
The token type for the array flavor.
Fields§
§slot: *const u8
Slot to read from or write to.
stamp: usize
Stamp to store into the slot after reading or writing.
Trait Implementations§
source§impl Debug for ArrayToken
impl Debug for ArrayToken
Auto Trait Implementations§
impl Freeze for ArrayToken
impl RefUnwindSafe for ArrayToken
impl !Send for ArrayToken
impl !Sync for ArrayToken
impl Unpin for ArrayToken
impl UnwindSafe for ArrayToken
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