[go: up one dir, main page]

Enum sloggers::types::Format [] [src]

pub enum Format {
    Full,
    Compact,
}

The format of log records.

Examples

The default value:

use sloggers::types::Format;

assert_eq!(Format::default(), Format::Full);

Variants

Full format.

Compact format.

Trait Implementations

impl Debug for Format
[src]

[src]

Formats the value using the given formatter.

impl Clone for Format
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Format
[src]

impl PartialEq for Format
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Format
[src]

impl Default for Format
[src]

[src]

Returns the "default value" for a type. Read more

impl FromStr for Format
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more