Enum diem_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)
ParseAddrError(AddrParseError)
ParseIntError(ParseIntError)
ParseX25519PubkeyError(CryptoMaterialError)
DnsNameTooLong(usize)
BCSError(Error)
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
[src]impl Display for ParseError
[src]
impl Display for ParseError
[src]impl Error for ParseError
[src]
impl Error for ParseError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<AddrParseError> for ParseError
[src]
impl From<AddrParseError> for ParseError
[src]fn from(source: AddrParseError) -> Self
[src]
fn from(source: AddrParseError) -> Self
[src]Performs the conversion.
impl From<CryptoMaterialError> for ParseError
[src]
impl From<CryptoMaterialError> for ParseError
[src]fn from(source: CryptoMaterialError) -> Self
[src]
fn from(source: CryptoMaterialError) -> Self
[src]Performs the conversion.
impl From<ParseIntError> for ParseError
[src]
impl From<ParseIntError> for ParseError
[src]fn from(source: ParseIntError) -> Self
[src]
fn from(source: ParseIntError) -> Self
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,