Enum untrustended::Error
[−]
[src]
pub enum Error { EndOfInput, ParseError, UnknownError, }
Possible errors raised by ReaderExt
.
Variants
EndOfInput
The error type used to indicate the end of the input was reached before the operation could be completed.
ParseError
The error type used to indicate when a failed parsing while trying to convert bytes into a more specific type.
UnknownError
Unknown error occured.
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for Error
[src]
impl From<EndOfInput> for Error
[src]
fn from(_: EndOfInput) -> Self
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<FromUtf16Error> for Error
[src]
fn from(_: FromUtf16Error) -> Self
Performs the conversion.