Enum cocaine::logging::Severity
[−]
[src]
pub enum Severity { Debug, Info, Warn, Error, }
Allowed severity levels.
Variants
Debug
Debug messages can describe any debug-specific helpful information.
Info
Info messages usually describes how a program state changes.
Warn
Warning messages describes non-critical, but still important information.
Error
Error messages describes important critical information, for example a reason why a request has failed.
Trait Implementations
impl Clone for Severity
[src]
fn clone(&self) -> Severity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Severity
[src]
impl Debug for Severity
[src]
impl PartialEq for Severity
[src]
fn eq(&self, __arg_0: &Severity) -> bool
[src]
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[src]
This method tests for !=
.
impl Into<isize> for Severity
[src]
impl Display for Severity
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more