Enum byteorder::Error
[−]
[src]
pub enum Error {
UnexpectedEOF,
Io(Error),
}An error type for reading bytes.
This is a thin wrapper over the standard io::Error type. Namely, it
adds one additional error case: an unexpected EOF.
Note that this error is also used for the write methods to keep things
consistent.
Variants
UnexpectedEOFAn unexpected EOF.
This occurs when a call to the underlying reader returns 0 bytes,
but more bytes are required to decode a meaningful value.
Io(Error)Any underlying IO error that occurs while reading bytes.
Trait Implementations
impl Debug for Error[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Error[src]
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more