Enum ethsync::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

Formats the value using the given formatter.

impl Display for NetworkError

Formats the value using the given formatter.

impl From<DecoderError> for NetworkError

Performs the conversion.

impl From<Error> for NetworkError

Performs the conversion.

impl From<IoError> for NetworkError

Performs the conversion.

impl From<UtilError> for NetworkError

Performs the conversion.

impl From<Error> for NetworkError

Performs the conversion.

impl From<Error> for NetworkError

Performs the conversion.

impl From<AddrParseError> for NetworkError

Performs the conversion.