Enum rmp::decode::MarkerReadError
[−]
[src]
pub enum MarkerReadError {
UnexpectedEOF,
Io(Error),
}Represents an error that can occur when attempting to read a MessagePack marker from the reader.
This is a thin wrapper over the standard io::Error type. Namely, it adds one additional error
case: an unexpected EOF.
Variants
UnexpectedEOFUnexpected end of file reached while reading the marker.
Io(Error)I/O error occurred while reading the marker.
Trait Implementations
impl Debug for MarkerReadError[src]
impl Error for MarkerReadError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for MarkerReadError[src]
impl From<Error> for MarkerReadError[src]
fn from(err: Error) -> MarkerReadError
Performs the conversion.