Enum flexi_config::Target
[−]
[src]
pub enum Target { StdErr, Disk, }
Enumeration used to identify where the log messages should be written to (stderr or disk).
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 Debug 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