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
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
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Display for NetworkError
impl From<DecoderError> for NetworkError
fn from(_err: DecoderError) -> NetworkError
Performs the conversion.
impl From<Error> for NetworkError
fn from(err: Error) -> NetworkError
Performs the conversion.
impl From<IoError> for NetworkError
fn from(err: IoError) -> NetworkError
Performs the conversion.
impl From<UtilError> for NetworkError
fn from(err: UtilError) -> NetworkError
Performs the conversion.
impl From<Error> for NetworkError
fn from(_err: Error) -> NetworkError
Performs the conversion.
impl From<Error> for NetworkError
fn from(_err: Error) -> NetworkError
Performs the conversion.
impl From<AddrParseError> for NetworkError
fn from(err: AddrParseError) -> NetworkError
Performs the conversion.