[−][src]Struct d9d_p2p::addr::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
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,