Enum winter_utils::DeserializationError [−][src]
pub enum DeserializationError {
InvalidValue(String),
UnexpectedEOF,
UnconsumedBytes,
UnknownError(String),
}Expand description
Defines errors which can occur during deserialization.
Variants
InvalidValue(String)
Tuple Fields
0: StringBytes in the input do not represent a valid value.
UnexpectedEOF
An end of input was reached before a valid value could be deserialized.
UnconsumedBytes
Deserialization has finished but not all bytes have been consumed.
UnknownError(String)
Tuple Fields
0: StringAn unknown error has occurred.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
