pub struct NullSink { /* private fields */ }Expand description
A sink that discards all data (useful for benchmarking).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NullSink
impl RefUnwindSafe for NullSink
impl Send for NullSink
impl Sync for NullSink
impl Unpin for NullSink
impl UnwindSafe for NullSink
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