Struct etwin_log::NoopLogger
source · pub struct NoopLogger;
Expand description
Trivial logger sink discarding all events
Trait Implementations§
source§impl Clone for NoopLogger
impl Clone for NoopLogger
source§fn clone(&self) -> NoopLogger
fn clone(&self) -> NoopLogger
Returns a copy 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 Debug for NoopLogger
impl Debug for NoopLogger
source§impl Hash for NoopLogger
impl Hash for NoopLogger
source§impl<Ev> Logger<Ev> for NoopLogger
impl<Ev> Logger<Ev> for NoopLogger
fn log(&self, _ev: Ev)
fn filter<P>(self, predicate: P) -> Filter<P, Self>where Self: Sized, P: Send + Sync + Fn(&T) -> bool,
fn map<S, F>(self, f: F) -> Map<F, Self>where Self: Sized, F: Send + Sync + Fn(S) -> T,
fn filter_map<S, F>(self, f: F) -> FilterMap<F, Self>where Self: Sized, F: Send + Sync + Fn(S) -> Option<T>,
source§impl Ord for NoopLogger
impl Ord for NoopLogger
source§fn cmp(&self, other: &NoopLogger) -> Ordering
fn cmp(&self, other: &NoopLogger) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NoopLogger> for NoopLogger
impl PartialEq<NoopLogger> for NoopLogger
source§fn eq(&self, other: &NoopLogger) -> bool
fn eq(&self, other: &NoopLogger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NoopLogger> for NoopLogger
impl PartialOrd<NoopLogger> for NoopLogger
source§fn partial_cmp(&self, other: &NoopLogger) -> Option<Ordering>
fn partial_cmp(&self, other: &NoopLogger) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more