pub(crate) struct ArrayToken {
slot: *const u8,
stamp: usize,
}
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)Expand description
The token type for the array flavor.
Fields§
§slot: *const u8
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)Slot to read from or write to.
stamp: usize
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more