Enum packet_stream::ConnectionError [] [src]

pub enum ConnectionError {
    Closed,
    Errored,
}

An error indicating what happend on a connection.

Variants

The peer closed the connection even though this substream was still waiting for data.

The connection errored.

Trait Implementations

impl Debug for ConnectionError
[src]

[src]

Formats the value using the given formatter.

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

impl Copy for ConnectionError
[src]

impl Clone for ConnectionError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. 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