Enum packet_stream::ConnectionError
[−]
[src]
pub enum ConnectionError { Closed, Errored, }
An error indicating what happend on a connection.
Variants
Closed
The peer closed the connection even though this substream was still waiting for data.
Errored
The connection errored.
Trait Implementations
impl Debug for ConnectionError
[src]
impl PartialEq for ConnectionError
[src]
fn eq(&self, __arg_0: &ConnectionError) -> bool
[src]
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[src]
This method tests for !=
.
impl Eq for ConnectionError
[src]
impl Copy for ConnectionError
[src]
impl Clone for ConnectionError
[src]
fn clone(&self) -> ConnectionError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for ConnectionError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more