[][src]Struct ruspiro_lock::datalock::TryDataLock

pub struct TryDataLock<'a, T> { /* fields omitted */ }

Result of trying to access the data using try_lock on the data lock If the result goes out of scope the lock is released

Trait Implementations

impl<'_, T> DerefMut for TryDataLock<'_, T>[src]

impl<'_, T> Deref for TryDataLock<'_, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'_, T> Drop for TryDataLock<'_, T>[src]

Auto Trait Implementations

impl<'a, T> Unpin for TryDataLock<'a, T>

impl<'a, T> !Sync for TryDataLock<'a, T>

impl<'a, T> !Send for TryDataLock<'a, T>

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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