pub struct StatisticLogger { /* private fields */ }Expand description
Responsible for logging the statistics with the provided prefix; currently used when logging the statistics of propagators.
Implementations§
source§impl StatisticLogger
impl StatisticLogger
pub fn new<Input: IntoIterator<Item = impl Display>>(name_prefix: Input) -> Self
sourcepub fn attach_to_prefix(&self, addition_to_prefix: impl Display) -> Self
pub fn attach_to_prefix(&self, addition_to_prefix: impl Display) -> Self
Attaches the provided addition_to_prefix to the stored internal prefix and returns a new
StatisticLogger with these two prefixes.
Trait Implementations§
source§impl Debug for StatisticLogger
impl Debug for StatisticLogger
source§impl Default for StatisticLogger
impl Default for StatisticLogger
source§fn default() -> StatisticLogger
fn default() -> StatisticLogger
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatisticLogger
impl RefUnwindSafe for StatisticLogger
impl Send for StatisticLogger
impl Sync for StatisticLogger
impl Unpin for StatisticLogger
impl UnwindSafe for StatisticLogger
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more