pub type Error<E> = Error<E>;Aliased Type§
pub enum Error<E> {
Incomplete(usize),
Invalid,
BufferOverflow,
InvalidLen,
Io(E),
}Variants§
Implementations§
Trait Implementations§
Source§impl<E> From<ReadExactError<E>> for Error<E>
impl<E> From<ReadExactError<E>> for Error<E>
Source§fn from(e: ReadExactError<E>) -> Self
fn from(e: ReadExactError<E>) -> Self
Converts to this type from the input type.