pub struct NoopDownloadEmitter;Expand description
A no-op download event emitter for tests and CLI contexts.
This implementation discards all events, making it suitable for:
- Unit tests that don’t need to verify event emission
- CLI applications that handle progress differently
- Contexts where event emission is optional
Implementations§
Trait Implementations§
Source§impl Clone for NoopDownloadEmitter
impl Clone for NoopDownloadEmitter
Source§fn clone(&self) -> NoopDownloadEmitter
fn clone(&self) -> NoopDownloadEmitter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopDownloadEmitter
impl Debug for NoopDownloadEmitter
Source§impl Default for NoopDownloadEmitter
impl Default for NoopDownloadEmitter
Source§fn default() -> NoopDownloadEmitter
fn default() -> NoopDownloadEmitter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopDownloadEmitter
impl RefUnwindSafe for NoopDownloadEmitter
impl Send for NoopDownloadEmitter
impl Sync for NoopDownloadEmitter
impl Unpin for NoopDownloadEmitter
impl UnwindSafe for NoopDownloadEmitter
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