Enum flo_canvas::DecoderError [−][src]
pub enum DecoderError {
InvalidCharacter(char),
MissingCharacter,
BadNumber,
UnknownColorType,
IsInErrorState,
NotReady,
}Expand description
Possible error from the decoder
Variants
The character was not valid for the current state of the decoder
Tuple Fields of InvalidCharacter
0: charThe decoder tried to decode something before it had accepted all characters (probably a bug)
A number could not be parsed for some reason
A color had an unknown type
The decoder previously encountered an error and cannot continue
The decoder was asked for a result when it was not ready (usually indicates an internal bug)
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 DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
Blanket Implementations
Mutably borrows from an owned value. Read more