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
§
impl<T> Instrument for T
impl<T> Instrument for T
§
fn instrument(self, span: Span) ->
Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§
fn in_current_span(self) ->
Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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
more
Source§
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
§
impl<T> Pointable for T
impl<T> Pointable for T
§
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§
impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§
fn read_from_little_endian(read: &mut
R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().