Enum parity_multiaddr::Error [−][src]
#[non_exhaustive] pub enum Error { DataLessThanLen, InvalidMultiaddr, InvalidProtocolString, InvalidUvar(Error), ParsingError(Box<dyn Error + Send + Sync>), UnknownProtocolId(u32), UnknownProtocolString(String), }
Error types
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidUvar(Error)
UnknownProtocolId(u32)
UnknownProtocolString(String)
Trait Implementations
impl From<AddrParseError> for Error
[src]
impl From<AddrParseError> for Error
[src]fn from(err: AddrParseError) -> Error
[src]
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]fn from(err: FromUtf8Error) -> Error
[src]
impl From<ParseIntError> for Error
[src]
impl From<ParseIntError> for Error
[src]