pub struct JsonStderrProgressReporter { /* private fields */ }Expand description
Progress reporter that writes JSON metric snapshots to stderr.
Implementations§
Trait Implementations§
Source§impl Default for JsonStderrProgressReporter
impl Default for JsonStderrProgressReporter
Source§impl ProgressReporter for JsonStderrProgressReporter
impl ProgressReporter for JsonStderrProgressReporter
Source§fn report(&self, event: &ProgressEvent)
fn report(&self, event: &ProgressEvent)
Writes one JSON line for every metric snapshot in the event.
§Parameters
event- Progress event to report.
Auto Trait Implementations§
impl Freeze for JsonStderrProgressReporter
impl !RefUnwindSafe for JsonStderrProgressReporter
impl Send for JsonStderrProgressReporter
impl Sync for JsonStderrProgressReporter
impl Unpin for JsonStderrProgressReporter
impl UnsafeUnpin for JsonStderrProgressReporter
impl !UnwindSafe for JsonStderrProgressReporter
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