[][src]Enum internet2::addr::AddrParseError

pub enum AddrParseError {
    WrongPortNumber,
    WrongAddrFormat(String),
    WrongSocketFormat(String),
    WrongSocketExtFormat(String),
    UnknownProtocolError(String),
    NeedsTorFeature,
}

Errors during address string parse process

Variants

WrongPortNumber

Wrong port number; must be a 16-bit unsigned integer number

WrongAddrFormat(String)

Can't recognize IPv4, v6 or Onion v2/v3 address in string "{_0}"

WrongSocketFormat(String)

Wrong format of socket address string "{_0}"; use <inet_address>[:]

WrongSocketExtFormat(String)

Wrong format of extended socket address string "{_0}"; use ://<inet_address>[:]

UnknownProtocolError(String)

Unknown transport protocol "{_0}"

NeedsTorFeature

Tor addresses are not supported; consider compiling with tor feature

Trait Implementations

impl Clone for AddrParseError[src]

impl Debug for AddrParseError[src]

impl Display for AddrParseError[src]

impl Eq for AddrParseError[src]

impl Error for AddrParseError[src]

impl From<AddrParseError> for AddrError[src]

impl From<ParseIntError> for AddrParseError[src]

impl Hash for AddrParseError[src]

impl Ord for AddrParseError[src]

impl PartialEq<AddrParseError> for AddrParseError[src]

impl PartialOrd<AddrParseError> for AddrParseError[src]

impl StructuralEq for AddrParseError[src]

impl StructuralPartialEq for AddrParseError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,