pub struct JsonProgressReporter<C = ArcConsumer<String>> { /* private fields */ }Expand description
Progress reporter that emits JSON metric snapshot strings to a consumer.
Implementations§
Source§impl<C> JsonProgressReporter<C>
impl<C> JsonProgressReporter<C>
Sourcepub const fn inner(
&self,
) -> &FormattedProgressReporter<JsonMetricSnapshotFormatter, C>
pub const fn inner( &self, ) -> &FormattedProgressReporter<JsonMetricSnapshotFormatter, C>
Trait Implementations§
Source§impl<C> ProgressReporter for JsonProgressReporter<C>
impl<C> ProgressReporter for JsonProgressReporter<C>
Source§fn report(&self, event: &ProgressEvent)
fn report(&self, event: &ProgressEvent)
Auto Trait Implementations§
impl<C> Freeze for JsonProgressReporter<C>where
C: Freeze,
impl<C> RefUnwindSafe for JsonProgressReporter<C>where
C: RefUnwindSafe,
impl<C> Send for JsonProgressReporter<C>where
C: Send,
impl<C> Sync for JsonProgressReporter<C>where
C: Sync,
impl<C> Unpin for JsonProgressReporter<C>where
C: Unpin,
impl<C> UnsafeUnpin for JsonProgressReporter<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for JsonProgressReporter<C>where
C: UnwindSafe,
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