pub struct DefaultStatisticsLogFormatter;Expand description
Structure to use for the default implementation of StatisticsLogFormatter.
Trait Implementations§
Source§impl Clone for DefaultStatisticsLogFormatter
impl Clone for DefaultStatisticsLogFormatter
Source§fn clone(&self) -> DefaultStatisticsLogFormatter
fn clone(&self) -> DefaultStatisticsLogFormatter
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 StatisticsLogFormatter for DefaultStatisticsLogFormatter
impl StatisticsLogFormatter for DefaultStatisticsLogFormatter
Source§fn log_stat(logger: &StatisticsLogger, stat: &StatLogData<'_>)where
Self: Sized,
fn log_stat(logger: &StatisticsLogger, stat: &StatLogData<'_>)where
Self: Sized,
The formatting callback. This default implementation just logs each field.
Auto Trait Implementations§
impl Freeze for DefaultStatisticsLogFormatter
impl RefUnwindSafe for DefaultStatisticsLogFormatter
impl Send for DefaultStatisticsLogFormatter
impl Sync for DefaultStatisticsLogFormatter
impl Unpin for DefaultStatisticsLogFormatter
impl UnwindSafe for DefaultStatisticsLogFormatter
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