Enum rocket::config::LoggingLevel
source · pub enum LoggingLevel {
Critical,
Normal,
Debug,
Off,
}
Expand description
Defines the different levels for log messages.
Variants§
Critical
Only shows errors, warnings, and launch information.
Normal
Shows everything except debug and trace information.
Debug
Shows everything.
Off
Shows nothing.
Trait Implementations§
source§impl Clone for LoggingLevel
impl Clone for LoggingLevel
source§fn clone(&self) -> LoggingLevel
fn clone(&self) -> LoggingLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoggingLevel
impl Debug for LoggingLevel
source§impl Display for LoggingLevel
impl Display for LoggingLevel
source§impl FromStr for LoggingLevel
impl FromStr for LoggingLevel
source§impl PartialEq for LoggingLevel
impl PartialEq for LoggingLevel
impl Copy for LoggingLevel
impl Eq for LoggingLevel
impl StructuralPartialEq for LoggingLevel
Auto Trait Implementations§
impl Freeze for LoggingLevel
impl RefUnwindSafe for LoggingLevel
impl Send for LoggingLevel
impl Sync for LoggingLevel
impl Unpin for LoggingLevel
impl UnwindSafe for LoggingLevel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.