[][src]Enum internet2::session::node_addr::NodeAddr

pub enum NodeAddr {
    Local(LocalSocketAddr),
    Remote(RemoteNodeAddr),
}

Node address which can be represent by either some local address without encryption information (i.e. node public key) or remote node address containing node public key

Variants

Local node using plain transport protocol LocalSocketAddr information and no encryption

Remote node required to have a node public key used for ID and encryption

Trait Implementations

impl Accept for NodeAddr[src]

impl Clone for NodeAddr[src]

impl Connect for NodeAddr[src]

impl Debug for NodeAddr[src]

impl Display for NodeAddr[src]

impl Eq for NodeAddr[src]

impl From<LocalSocketAddr> for NodeAddr[src]

impl From<PartialNodeAddr> for NodeAddr[src]

impl From<RemoteNodeAddr> for NodeAddr[src]

impl FromStr for NodeAddr[src]

type Err = AddrError

The associated error which can be returned from parsing.

impl Hash for NodeAddr[src]

impl Ord for NodeAddr[src]

impl PartialEq<NodeAddr> for NodeAddr[src]

impl PartialOrd<NodeAddr> for NodeAddr[src]

impl StrictDecode for NodeAddr[src]

impl StrictEncode for NodeAddr[src]

impl StructuralEq for NodeAddr[src]

impl StructuralPartialEq for NodeAddr[src]

impl ToNodeAddr for NodeAddr[src]

impl TryFrom<&'_ str> for NodeAddr[src]

type Error = <NodeAddr as FromStr>::Err

The type returned in the event of a conversion error.

impl TryFrom<NodeAddr> for ZmqSocketAddr[src]

type Error = AddrError

The type returned in the event of a conversion error.

impl TryFrom<Url> for NodeAddr[src]

type Error = AddrError

The type returned in the event of a conversion error.

impl UrlString for NodeAddr[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>,