Enum rocket::config::LoggingLevel [−][src]
pub enum LoggingLevel { Critical, Normal, Debug, }
Defines the different levels for log messages.
Variants
Critical
Only shows errors and warning.
Normal
Shows everything except debug and trace information.
Debug
Shows everything.
Trait Implementations
impl PartialEq for LoggingLevel
[src]
impl PartialEq for LoggingLevel
fn eq(&self, other: &LoggingLevel) -> bool
[src]
fn eq(&self, other: &LoggingLevel) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for LoggingLevel
[src]
impl Eq for LoggingLevel
impl Debug for LoggingLevel
[src]
impl Debug for LoggingLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LoggingLevel
[src]
impl Clone for LoggingLevel
fn clone(&self) -> LoggingLevel
[src]
fn clone(&self) -> LoggingLevel
Returns 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 LoggingLevel
impl FromStr for LoggingLevel
[src]
impl FromStr for LoggingLevel
type 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 LoggingLevel
Auto Trait Implementations
impl Send for LoggingLevel
impl Send for LoggingLevel
impl Sync for LoggingLevel
impl Sync for LoggingLevel