pub struct Mapped<Inner, U>where
Inner: Deref,{ /* private fields */ }Expand description
A guard that maps over another guard.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Inner, U> Freeze for Mapped<Inner, U>where
Inner: Freeze,
impl<Inner, U> RefUnwindSafe for Mapped<Inner, U>where
Inner: RefUnwindSafe,
impl<Inner, U> Send for Mapped<Inner, U>where
Inner: Send,
impl<Inner, U> Sync for Mapped<Inner, U>where
Inner: Sync,
impl<Inner, U> Unpin for Mapped<Inner, U>where
Inner: Unpin,
impl<Inner, U> UnwindSafe for Mapped<Inner, U>where
Inner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.