Enum crowbook::InfoLevel [] [src]

pub enum InfoLevel {
    Debug,
    Warning,
    Info,
    Error,
    Quiet,
    // some variants omitted
}

The level of information to display to a logger

This enum should only be used as parameters for Logger or Book methods. Library users should not do exhaustive pattern matching on the variants of the enums, as it might grow variants later.

Variants

Debug: the lowest level

Warning: will be displayed by default

Info: will be displayed by default

Error

Quiet

Trait Implementations

impl Debug for InfoLevel
[src]

Formats the value using the given formatter.

impl PartialEq for InfoLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for InfoLevel
[src]

impl PartialOrd for InfoLevel
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Clone for InfoLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for InfoLevel
[src]