pub struct ObservedWriter<W> { /* private fields */ }Expand description
A bincode writer wrapper that reports every encoded byte to Copper’s observation counters.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for ObservedWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for ObservedWriter<W>where
W: RefUnwindSafe,
impl<W> Send for ObservedWriter<W>where
W: Send,
impl<W> Sync for ObservedWriter<W>where
W: Sync,
impl<W> Unpin for ObservedWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for ObservedWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for ObservedWriter<W>where
W: 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