Enum libp2p::core::multiaddr::Error [−][src]
#[non_exhaustive] pub enum Error { DataLessThanLen, InvalidMultiaddr, InvalidProtocolString, InvalidUvar(Error), ParsingError(Box<dyn Error + Sync + Send + 'static, Global>), UnknownProtocolId(u32), UnknownProtocolString(String), }
Expand description
Error types
Variants (Non-exhaustive)
This enum is marked as 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.
UnknownProtocolId(u32)
UnknownProtocolString(String)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error