Enum flexi_config::Priority
[−]
[src]
pub enum Priority { Error, Warn, Info, Debug, Trace, }
Enumeration to identify the lowest level log message to output.
Variants
Error
Used for reporting very serious errors, this is the highest level
Warn
Used for reporting hazardous situations, includes the Error level as well.
Info
Used for reporting useful information, includes the Warn and Error levels as well.
Debug
Used for reporting low priority information, includes the Info, Warn, and Error levels as well.
Trace
Used for reporting very low priority information, includes the Debug, Info, Warn, and Error levels as well.
Methods
impl Priority
[src]
fn decode(value: &str) -> Option<Priority>
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 Clone for Priority
[src]
fn clone(&self) -> Priority
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 PartialEq for Priority
[src]
fn eq(&self, __arg_0: &Priority) -> 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 !=
.