Enum diem_sdk::types::network_address::ParseError [−][src]
pub enum ParseError {
UnknownProtocolType(String),
UnexpectedEnd,
ParseAddrError(AddrParseError),
ParseIntError(ParseIntError),
ParseX25519PubkeyError(CryptoMaterialError),
EmptyProtocolString,
InvalidProtocolString,
EmptyDnsNameString,
InvalidDnsNameCharacter,
DnsNameTooLong(usize),
DecryptError,
BCSError(Error),
}
Expand description
Possible errors when parsing a human-readable NetworkAddress
.
Variants
UnknownProtocolType(String)
Tuple Fields of UnknownProtocolType
0: String
ParseAddrError(AddrParseError)
Tuple Fields of ParseAddrError
ParseIntError(ParseIntError)
Tuple Fields of ParseIntError
ParseX25519PubkeyError(CryptoMaterialError)
Tuple Fields of ParseX25519PubkeyError
DnsNameTooLong(usize)
Tuple Fields of DnsNameTooLong
0: usize
BCSError(Error)
Tuple Fields of BCSError
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more