pub struct Adapt<'a, E, W>(_, _);
Expand description
Sink adapter that is able to convert from different error types via From
trait
Trait Implementations
Auto Trait Implementations
impl<'a, E, W> RefUnwindSafe for Adapt<'a, E, W>where
E: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, E, W> Send for Adapt<'a, E, W>where
E: Send,
W: Send,
impl<'a, E, W> Sync for Adapt<'a, E, W>where
E: Sync,
W: Sync,
impl<'a, E, W> Unpin for Adapt<'a, E, W>where
E: Unpin,
impl<'a, E, W> !UnwindSafe for Adapt<'a, E, W>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more