Enum bytecodec::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidInput,
    UnexpectedEos,
    EncoderFull,
    DecoderTerminated,
    Other,
}

Possible error kinds.

Variants

Trait Implementations

impl From<ErrorKind> for Error

Performs the conversion.

impl Debug for ErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ErrorKind
[src]

impl PartialEq for ErrorKind
[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 Eq for ErrorKind
[src]

impl TrackableErrorKind for ErrorKind
[src]

[src]

A short description of the error kind. Read more

[src]

Displays this kind. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind