Struct tokenlock::ArcTokenUnsyncRef [−][src]
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> PartialEq<ArcTokenUnsyncRef<'a>> for ArcTokenUnsyncRef<'a>
[src]
fn eq(&self, other: &ArcTokenUnsyncRef<'a>) -> bool
[src]
fn ne(&self, other: &ArcTokenUnsyncRef<'a>) -> bool
[src]
impl<'a> StructuralEq for ArcTokenUnsyncRef<'a>
[src]
impl<'a> StructuralPartialEq for ArcTokenUnsyncRef<'a>
[src]
impl Token<ArcTokenId> for ArcTokenUnsyncRef<'_>
[src]
fn eq_id(&self, id: &ArcTokenId) -> bool
[src]
impl Unsync for ArcTokenUnsyncRef<'_>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ArcTokenUnsyncRef<'a>
[src]
impl<'a> Send for ArcTokenUnsyncRef<'a>
[src]
impl<'a> !Sync for ArcTokenUnsyncRef<'a>
[src]
impl<'a> Unpin for ArcTokenUnsyncRef<'a>
[src]
impl<'a> !UnwindSafe for ArcTokenUnsyncRef<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,