pub struct Progress { /* private fields */ }Expand description
Progress reporter that emits JSON events to stderr
Implementations§
Source§impl Progress
impl Progress
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Check if progress is enabled
Sourcepub fn emit(&self, event: ProgressEvent)
pub fn emit(&self, event: ProgressEvent)
Emit a progress event
Sourcepub fn error(&self, err: &DatalabError)
pub fn error(&self, err: &DatalabError)
Emit error event
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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