Struct network::error::NetworkError
source · pub struct NetworkError(_);
Expand description
Errors propagated from the network module.
Trait Implementations§
source§impl Debug for NetworkError
impl Debug for NetworkError
source§impl Display for NetworkError
impl Display for NetworkError
source§impl Error for NetworkError
impl Error for NetworkError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for NetworkError
impl From<Error> for NetworkError
source§fn from(err: Error) -> NetworkError
fn from(err: Error) -> NetworkError
Converts to this type from the input type.
source§impl From<Error> for NetworkError
impl From<Error> for NetworkError
source§fn from(err: Error) -> NetworkError
fn from(err: Error) -> NetworkError
Converts to this type from the input type.
source§impl From<Error> for NetworkError
impl From<Error> for NetworkError
source§fn from(err: Error) -> NetworkError
fn from(err: Error) -> NetworkError
Converts to this type from the input type.
source§impl From<NetworkErrorKind> for NetworkError
impl From<NetworkErrorKind> for NetworkError
source§fn from(kind: NetworkErrorKind) -> NetworkError
fn from(kind: NetworkErrorKind) -> NetworkError
Converts to this type from the input type.
source§impl From<PeerManagerError> for NetworkError
impl From<PeerManagerError> for NetworkError
source§fn from(err: PeerManagerError) -> NetworkError
fn from(err: PeerManagerError) -> NetworkError
Converts to this type from the input type.