Enum grep_printer::ColorError[][src]

pub enum ColorError {
    UnrecognizedOutType(String),
    UnrecognizedSpecType(String),
    UnrecognizedColor(StringString),
    UnrecognizedStyle(String),
    InvalidFormat(String),
}

An error that can occur when parsing color specifications.

Variants

This occurs when an unrecognized output type is used.

This occurs when an unrecognized spec type is used.

This occurs when an unrecognized color name is used.

This occurs when an unrecognized style attribute is used.

This occurs when the format of a color specification is invalid.

Trait Implementations

impl Clone for ColorError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ColorError
[src]

Formats the value using the given formatter. Read more

impl Eq for ColorError
[src]

impl PartialEq for ColorError
[src]

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

This method tests for !=.

impl Error for ColorError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for ColorError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ColorError

impl Sync for ColorError