Enum flexi_config::Target [] [src]

pub enum Target {
    StdErr,
    Disk,
}

Enumeration used to identify where the log messages should be written to.

Variants

StdErr

Write the log messages to standard error.

Disk

Write the log messages to disk.

Methods

impl Target
[src]

fn decode(value: &str) -> Option<Target>

Decodes a string value into the enumeration value. This is used in conjuction with encode().

fn encode(self) -> String

Converts the enumeration value into a string so it can be saved. Used in conjunction with decode().

Trait Implementations

impl PartialEq for Target
[src]

fn eq(&self, __arg_0: &Target) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for Target
[src]

impl Clone for Target
[src]

fn clone(&self) -> Target

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Target
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.