pub struct OptionWriter<T, W> { /* private fields */ }Expand description
OptionWriter pairs an Option value with an accumulated log/writer monad value.
Implementations§
Auto Trait Implementations§
impl<T, W> Freeze for OptionWriter<T, W>
impl<T, W> RefUnwindSafe for OptionWriter<T, W>where
W: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, W> Send for OptionWriter<T, W>
impl<T, W> Sync for OptionWriter<T, W>
impl<T, W> Unpin for OptionWriter<T, W>
impl<T, W> UnsafeUnpin for OptionWriter<T, W>where
W: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, W> UnwindSafe for OptionWriter<T, W>where
W: UnwindSafe,
T: 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