[][src]Struct rw_lease::ReadGuard

pub struct ReadGuard<'a, T, A> where
    A: 'a + AtomicInt,
    A::Prim: AddSign,
    T: 'a, 
{ /* fields omitted */ }

This guard signifies read access. When it drops, it will release the read lock.

Trait Implementations

impl<'a, T: Debug, A: Debug> Debug for ReadGuard<'a, T, A> where
    A: 'a + AtomicInt,
    A::Prim: AddSign,
    T: 'a, 
[src]

impl<'a, T, A> Deref for ReadGuard<'a, T, A> where
    A: 'a + AtomicInt,
    A::Prim: AddSign,
    T: 'a, 
[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T, A> Drop for ReadGuard<'a, T, A> where
    A: 'a + AtomicInt,
    A::Prim: AddSign,
    T: 'a, 
[src]

Auto Trait Implementations

impl<'a, T, A> !RefUnwindSafe for ReadGuard<'a, T, A>

impl<'a, T, A> !Send for ReadGuard<'a, T, A>

impl<'a, T, A> !Sync for ReadGuard<'a, T, A>

impl<'a, T, A> Unpin for ReadGuard<'a, T, A>

impl<'a, T, A> !UnwindSafe for ReadGuard<'a, T, A>

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.