pub struct NullSink;Expand description
A sink that drops every update. Useful as a default.
Trait Implementations§
Source§impl ProgressSink for NullSink
impl ProgressSink for NullSink
Source§fn on_rung(&self, _update: RungProgress)
fn on_rung(&self, _update: RungProgress)
Called with a fresh
RungProgress each time a rung advances.Auto Trait Implementations§
impl Freeze for NullSink
impl RefUnwindSafe for NullSink
impl Send for NullSink
impl Sync for NullSink
impl Unpin for NullSink
impl UnsafeUnpin 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