[−][src]Struct mapped_guard::MappedGuard
Implementations
impl<G, R> MappedGuard<G, R>
[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.
fn deref(&self) -> &Self::Target
[src]
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,
G: RefUnwindSafe,
R: RefUnwindSafe,
impl<G, R> Send for MappedGuard<G, R> where
G: Send,
R: Send,
G: Send,
R: Send,
impl<G, R> Sync for MappedGuard<G, R> where
G: Sync,
R: Sync,
G: Sync,
R: Sync,
impl<G, R> Unpin for MappedGuard<G, R> where
G: Unpin,
R: Unpin,
G: Unpin,
R: Unpin,
impl<G, R> UnwindSafe for MappedGuard<G, R> where
G: UnwindSafe,
R: UnwindSafe,
G: UnwindSafe,
R: UnwindSafe,
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,
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<'a, G, R> MapGuard<'a, Box<G>, &'a G, R> for G where
G: 'a + BoxedMapped,
R: 'a,
[src]
G: 'a + BoxedMapped,
R: 'a,
fn map_guard(Self, impl FnOnce(&'a G) -> R) -> MappedGuard<Box<G>, R>
[src]
fn maybe_map_guard(
Self,
impl FnOnce(&'a G) -> Option<R>
) -> Option<MappedGuard<Box<G>, R>>
[src]
Self,
impl FnOnce(&'a G) -> Option<R>
) -> Option<MappedGuard<Box<G>, R>>
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'a, G, R, E> TryMapGuard<'a, Box<G>, &'a G, R, E> for G where
E: 'a,
G: 'a + BoxedMapped,
R: 'a,
[src]
E: 'a,
G: 'a + BoxedMapped,
R: 'a,
fn try_map_guard(
Self,
impl FnOnce(&'a G) -> Result<R, E>
) -> Result<MappedGuard<Box<G>, R>, E>
[src]
Self,
impl FnOnce(&'a G) -> Result<R, E>
) -> Result<MappedGuard<Box<G>, R>, E>