[][src]Enum mod_logger::LogDestination

pub enum LogDestination {
    Stdout,
    Stderr,
    Stream,
    StreamStdout,
    StreamStderr,
    Buffer,
    BufferStdout,
    BufferStderr,
}

Variants

Stdout

log to stdout

Stderr

log to stderr

Stream

log to an output file

StreamStdout

log to an output file and to stdout

StreamStderr

log to an output file and to stderr

Buffer

log to a memory buffer

BufferStdout

log to stdout and to a memory buffer

BufferStderr

log to stderr and to a memory buffer

Implementations

impl LogDestination[src]

pub fn is_stream_dest(&self) -> bool[src]

pub fn is_buffer_dest(&self) -> bool[src]

pub fn is_stderr(&self) -> bool[src]

pub fn is_stdout(&self) -> bool[src]

Trait Implementations

impl Clone for LogDestination[src]

impl Debug for LogDestination[src]

impl<'de> Deserialize<'de> for LogDestination[src]

impl FromStr for LogDestination[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<LogDestination> for LogDestination[src]

impl StructuralPartialEq for LogDestination[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.