[][src]Enum emit::LogLevelFilter

#[repr(usize)]
pub enum LogLevelFilter {
    Off,
    Error,
    Warn,
    Info,
    Debug,
    Trace,
}

Variants

Off
Error
Warn
Info
Debug
Trace

Methods

impl LogLevelFilter[src]

pub fn is_enabled(self, level: LogLevel) -> bool[src]

Trait Implementations

impl Clone for LogLevelFilter[src]

impl Copy for LogLevelFilter[src]

impl Debug for LogLevelFilter[src]

impl Eq for LogLevelFilter[src]

impl Ord for LogLevelFilter[src]

impl PartialEq<LogLevelFilter> for LogLevelFilter[src]

impl PartialOrd<LogLevelFilter> for LogLevelFilter[src]

impl StructuralEq for LogLevelFilter[src]

impl StructuralPartialEq for LogLevelFilter[src]

Auto Trait Implementations

impl RefUnwindSafe for LogLevelFilter

impl Send for LogLevelFilter

impl Sync for LogLevelFilter

impl Unpin for LogLevelFilter

impl UnwindSafe for LogLevelFilter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.