Enum nue_io::read_exact::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
UnexpectedEOF | An unexpected EOF. This occurs when a call to the underlying reader returns |
Io | Any underlying IO error that occurs while reading bytes. |