Enum packet_stream::ConnectionError [] [src]

pub enum ConnectionError {
    ClosedEarly,
    Errored(IoError),
}

An error indicating what happend on a connection.

Variants

The underlying connection has been closed.

An error occured on reading.

Trait Implementations

impl Debug for ConnectionError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for ConnectionError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ConnectionError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for ConnectionError
[src]

[src]

Performs the conversion.

Auto Trait Implementations