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
Auth
Authentication error.
BadProtocol
Unrecognised protocol.
Expired
Message expired.
PeerNotFound
Peer not found.
Disconnect(DisconnectReason)
Peer is diconnected.
Util(UtilError)
Util error.
Io(IoError)
Socket IO error.
AddressParse(AddrParseError)
Error concerning the network address parsing subsystem.
AddressResolve(Option<Error>)
Error concerning the network address resolution subsystem.
StdIo(Error)
Error concerning the Rust standard library's IO subsystem.
Trait Implementations
impl Debug for NetworkError
[src]
impl Display for NetworkError
[src]
impl From<DecoderError> for NetworkError
[src]
fn from(_err: DecoderError) -> NetworkError
Performs the conversion.
impl From<Error> for NetworkError
[src]
fn from(err: Error) -> NetworkError
Performs the conversion.
impl From<IoError> for NetworkError
[src]
fn from(err: IoError) -> NetworkError
Performs the conversion.
impl From<UtilError> for NetworkError
[src]
fn from(err: UtilError) -> NetworkError
Performs the conversion.
impl From<KeyError> for NetworkError
[src]
impl From<CryptoError> for NetworkError
[src]
fn from(_err: CryptoError) -> NetworkError
Performs the conversion.
impl From<AddrParseError> for NetworkError
[src]
fn from(err: AddrParseError) -> NetworkError
Performs the conversion.