Enum rmp::decode::ReadError
[−]
[src]
pub enum ReadError {
UnexpectedEOF,
Io(Error),
}Represents an error that can occur when attempting to read bytes 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 bytes.
Io(Error)I/O error occurred while reading bytes.
Trait Implementations
impl Debug for ReadError[src]
impl Error for ReadError[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 ReadError[src]
impl From<Error> for ReadError[src]
impl From<Error> for ReadError[src]
impl From<MarkerReadError> for ReadError[src]
fn from(err: MarkerReadError) -> ReadError
Performs the conversion.