Enum grep_printer::ColorError [−][src]
pub enum ColorError {
UnrecognizedOutType(String),
UnrecognizedSpecType(String),
UnrecognizedColor(String, String),
UnrecognizedStyle(String),
InvalidFormat(String),
}Expand description
An error that can occur when parsing color specifications.
Variants
UnrecognizedOutType(String)This occurs when an unrecognized output type is used.
UnrecognizedSpecType(String)This occurs when an unrecognized spec type is used.
This occurs when an unrecognized color name is used.
UnrecognizedStyle(String)This occurs when an unrecognized style attribute is used.
InvalidFormat(String)This occurs when the format of a color specification is invalid.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ColorErrorimpl Send for ColorErrorimpl Sync for ColorErrorimpl Unpin for ColorErrorimpl UnwindSafe for ColorErrorBlanket Implementations
Mutably borrows from an owned value. Read more