Enum rocket::config::LoggingLevel [−][src]
pub enum LoggingLevel {
Critical,
Normal,
Debug,
}Defines the different levels for log messages.
Variants
CriticalOnly shows errors and warning.
NormalShows everything except debug and trace information.
DebugShows everything.
Trait Implementations
impl PartialEq for LoggingLevel[src]
impl PartialEq for LoggingLevelfn eq(&self, other: &LoggingLevel) -> bool[src]
fn eq(&self, other: &LoggingLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for LoggingLevel[src]
impl Eq for LoggingLevelimpl Debug for LoggingLevel[src]
impl Debug for LoggingLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for LoggingLevel[src]
impl Clone for LoggingLevelfn clone(&self) -> LoggingLevel[src]
fn clone(&self) -> LoggingLevelReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for LoggingLevel[src]
impl Copy for LoggingLevelimpl FromStr for LoggingLevel[src]
impl FromStr for LoggingLeveltype Err = &'static str
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
fn from_str(s: &str) -> Result<Self, Self::Err>Parses a string s to return a value of this type. Read more
impl Display for LoggingLevel[src]
impl Display for LoggingLevelAuto Trait Implementations
impl Send for LoggingLevel
impl Send for LoggingLevelimpl Sync for LoggingLevel
impl Sync for LoggingLevel