Enum genio::error::ReadExactError
[−]
[src]
pub enum ReadExactError<E> { Other(E), UnexpectedEnd, }
Error that might occur when reading exact amount of bytes.
Variants
Other(E)
Low-level error happened.
UnexpectedEnd
Reader reached end unexpectedly.
Usually EOF, closed connection, etc.
Trait Implementations
impl<E> From<E> for ReadExactError<E>
[src]
fn from(e: E) -> Self
Performs the conversion.