Struct tokenlock::ArcTokenUnsyncRef[][src]

pub struct ArcTokenUnsyncRef<'a>(_, _);

Represents a borrow of ArcToken constrained to a single thread.

Implementations

impl ArcTokenUnsyncRef<'_>[src]

pub fn id(&self) -> ArcTokenId[src]

Construct an ArcTokenId that equates to self.

Trait Implementations

impl<'a> Debug for ArcTokenUnsyncRef<'a>[src]

impl<'a> Eq for ArcTokenUnsyncRef<'a>[src]

impl<'a> Hash for ArcTokenUnsyncRef<'a>[src]

impl<'a> PartialEq<ArcTokenUnsyncRef<'a>> for ArcTokenUnsyncRef<'a>[src]

impl<'a> StructuralEq for ArcTokenUnsyncRef<'a>[src]

impl<'a> StructuralPartialEq for ArcTokenUnsyncRef<'a>[src]

impl Token<ArcTokenId> for ArcTokenUnsyncRef<'_>[src]

impl Unsync for ArcTokenUnsyncRef<'_>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.