Struct InMemoryMetricLogger
pub struct InMemoryMetricLogger { /* private fields */ }Expand description
In memory metric logger, useful when testing and debugging.
Implementations§
§impl InMemoryMetricLogger
impl InMemoryMetricLogger
pub fn new() -> InMemoryMetricLogger
pub fn new() -> InMemoryMetricLogger
Create a new in-memory metric logger.
Trait Implementations§
§impl Default for InMemoryMetricLogger
impl Default for InMemoryMetricLogger
§fn default() -> InMemoryMetricLogger
fn default() -> InMemoryMetricLogger
Returns the “default value” for a type. Read more
§impl MetricLogger for InMemoryMetricLogger
impl MetricLogger for InMemoryMetricLogger
Auto Trait Implementations§
impl Freeze for InMemoryMetricLogger
impl RefUnwindSafe for InMemoryMetricLogger
impl Send for InMemoryMetricLogger
impl Sync for InMemoryMetricLogger
impl Unpin for InMemoryMetricLogger
impl UnwindSafe for InMemoryMetricLogger
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