Struct ListToken
pub(crate) struct ListToken { pub(in ::sync::mpmc::list) block: *const u8, pub(in ::sync::mpmc::list) offset: usize }
The token type for the list flavor.
Fields
block: *const u8The block of slots.
offset: usizeThe offset into the block.
Trait Implementations
impl Debug for ListToken
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for ListToken
fn default() -> Self
Auto Trait Implementations
impl !Send for ListToken
impl !Sync for ListToken
impl Freeze for ListToken
impl RefUnwindSafe for ListToken
impl Unpin for ListToken
impl UnsafeUnpin for ListToken
impl UnwindSafe for ListToken
Blanket Implementations
impl<T> Any for ListToken
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ListToken
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ListToken
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ListToken
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for ListToken
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for ListToken
impl<T, U> Into<U> for ListToken
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ListToken
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for ListToken
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>