Struct delog::Statistics[][src]

pub struct Statistics {
    pub attempts: usize,
    pub successes: usize,
    pub flushes: usize,
    pub read: usize,
    pub written: usize,
}

Statistics on logger usage.

Fields

attempts: usize

How often was one of the logging macros called.

successes: usize

How often was one of the logging macros called without early exit (e.g., buffer not full)

flushes: usize

How often was the flusher called.

read: usize

How many bytes were flushed so far.

written: usize

How many bytes were logged so far.

Trait Implementations

impl Clone for Statistics[src]

impl Copy for Statistics[src]

impl Debug for Statistics[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.