[][src]Struct locked_resource::LockedResource

pub struct LockedResource<R: ?Sized, L> { /* fields omitted */ }

Methods

impl<'l, R, L> LockedResource<R, L>[src]

pub fn unlock(self) -> R[src]

Trait Implementations

impl<R: ?Sized, L> DerefMut for LockedResource<R, L>[src]

impl<R: ?Sized, L> Deref for LockedResource<R, L>[src]

type Target = L

The resulting type after dereferencing.

Auto Trait Implementations

impl<R: ?Sized, L> Send for LockedResource<R, L> where
    L: Send,
    R: Send

impl<R: ?Sized, L> Sync for LockedResource<R, L> where
    L: Sync,
    R: Sync

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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