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