Enum untrustended::Error [] [src]

pub enum Error {
    EndOfInput,
    ParseError,
    UnknownError,
}

Possible errors raised by ReaderExt.

Variants

The error type used to indicate the end of the input was reached before the operation could be completed.

The error type used to indicate when a failed parsing while trying to convert bytes into a more specific type.

Unknown error occured.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<EndOfInput> for Error
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf16Error> for Error
[src]

[src]

Performs the conversion.