[][src]Struct internet2::session::node_addr::RemoteNodeAddr

pub struct RemoteNodeAddr {
    pub node_id: PublicKey,
    pub remote_addr: RemoteSocketAddr,
}

Remote node address at the session-level including node encryption/id key information and full RemoteSocketAddr with transport protocol & complete connection point specification.

Node address must be given as in form of <node_id>@<node_inet_addr>[:<port>], where <node_inet_addr> may be IPv4, IPv6, Onion v2 or v3 address

Fields

node_id: PublicKey

Node public key, used both as an ID and encryption key for per-session ECDH

remote_addr: RemoteSocketAddr

Full remote peer address including port information

Trait Implementations

impl Accept for RemoteNodeAddr[src]

impl Clone for RemoteNodeAddr[src]

impl Connect for RemoteNodeAddr[src]

impl Debug for RemoteNodeAddr[src]

impl Display for RemoteNodeAddr[src]

impl Eq for RemoteNodeAddr[src]

impl From<RemoteNodeAddr> for NodeAddr[src]

impl From<RemoteNodeAddr> for RemoteSocketAddr[src]

impl From<RemoteNodeAddr> for PartialNodeAddr[src]

impl FromStr for RemoteNodeAddr[src]

type Err = AddrError

The associated error which can be returned from parsing.

impl Hash for RemoteNodeAddr[src]

impl Ord for RemoteNodeAddr[src]

impl PartialEq<RemoteNodeAddr> for RemoteNodeAddr[src]

impl PartialOrd<RemoteNodeAddr> for RemoteNodeAddr[src]

impl StrictDecode for RemoteNodeAddr[src]

impl StrictEncode for RemoteNodeAddr[src]

impl StructuralEq for RemoteNodeAddr[src]

impl StructuralPartialEq for RemoteNodeAddr[src]

impl ToNodeAddr for RemoteNodeAddr[src]

impl ToRemoteNodeAddr for RemoteNodeAddr[src]

impl TryFrom<PartialNodeAddr> for RemoteNodeAddr[src]

type Error = AddrError

The type returned in the event of a conversion error.

impl TryFrom<Url> for RemoteNodeAddr[src]

type Error = AddrError

The type returned in the event of a conversion error.

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