[][src]Struct mapped_guard::MappedGuard

pub struct MappedGuard<G, R> { /* fields omitted */ }

Implementations

impl<G, R> MappedGuard<G, R>[src]

pub fn new(guard: G, target: R) -> Self[src]

Trait Implementations

impl<G, R> BoxedMapped for MappedGuard<G, R>[src]

impl<G: Debug, R: Debug> Debug for MappedGuard<G, R>[src]

impl<G, R: Deref> Deref for MappedGuard<G, R>[src]

type Target = R::Target

The resulting type after dereferencing.

impl<G, R1, R> From<MappedGuard<MappedGuard<G, R1>, R>> for MappedGuard<G, R>[src]

fn from(from: MappedGuard<MappedGuard<G, R1>, R>) -> Self[src]

Flattens nested MappedGuard instances.

Auto Trait Implementations

impl<G, R> RefUnwindSafe for MappedGuard<G, R> where
    G: RefUnwindSafe,
    R: RefUnwindSafe

impl<G, R> Send for MappedGuard<G, R> where
    G: Send,
    R: Send

impl<G, R> Sync for MappedGuard<G, R> where
    G: Sync,
    R: Sync

impl<G, R> Unpin for MappedGuard<G, R> where
    G: Unpin,
    R: Unpin

impl<G, R> UnwindSafe for MappedGuard<G, R> where
    G: UnwindSafe,
    R: UnwindSafe

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<'a, G, R> MapGuard<'a, Box<G>, &'a G, R> for G where
    G: 'a + BoxedMapped,
    R: 'a, 
[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<'a, G, R, E> TryMapGuard<'a, Box<G>, &'a G, R, E> for G where
    E: 'a,
    G: 'a + BoxedMapped,
    R: 'a, 
[src]