Enum ethcore_network::NetworkError [] [src]

pub enum NetworkError {
    Auth,
    BadProtocol,
    Expired,
    PeerNotFound,
    Disconnect(DisconnectReason),
    Util(UtilError),
    Io(IoError),
    AddressParse(AddrParseError),
    AddressResolve(Option<Error>),
    StdIo(Error),
}

Network error.

Variants

Authentication error.

Unrecognised protocol.

Message expired.

Peer not found.

Peer is diconnected.

Util error.

Socket IO error.

Error concerning the network address parsing subsystem.

Error concerning the network address resolution subsystem.

Error concerning the Rust standard library's IO subsystem.

Trait Implementations

impl Debug for NetworkError
[src]

Formats the value using the given formatter.

impl Display for NetworkError
[src]

Formats the value using the given formatter.

impl From<DecoderError> for NetworkError
[src]

Performs the conversion.

impl From<Error> for NetworkError
[src]

Performs the conversion.

impl From<IoError> for NetworkError
[src]

Performs the conversion.

impl From<UtilError> for NetworkError
[src]

Performs the conversion.

impl From<KeyError> for NetworkError
[src]

Performs the conversion.

impl From<CryptoError> for NetworkError
[src]

Performs the conversion.

impl From<AddrParseError> for NetworkError
[src]

Performs the conversion.