[][src]Struct d9d_p2p::addr::MultiAddr

pub struct MultiAddr;

A MultiAddr is used to route messages to a peer over the network. It must contain the ip4 (or ip6), tcp (or udp), and p2p components. The p2p component must be the PubAddr of the peer. A MultiAddr should be verified by a signature of a UNIX timestamp concatenated to the MultiAddr. The MultiAddr is valid if the PubAddr in the p2p component can be derived from the PubKey that is derived from the signature. For more information see https://github.com/multiformats/multiaddr.

Auto Trait Implementations

impl Send for MultiAddr

impl Sync for MultiAddr

Blanket Implementations

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T