Struct libp2p::multiaddr::Onion3Addr
source · pub struct Onion3Addr<'a>(_, _);
Expand description
Represents an Onion v3 address
Implementations§
Trait Implementations§
source§impl<'a> Clone for Onion3Addr<'a>
impl<'a> Clone for Onion3Addr<'a>
source§fn clone(&self) -> Onion3Addr<'a>
fn clone(&self) -> Onion3Addr<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Onion3Addr<'_>
impl Debug for Onion3Addr<'_>
source§impl PartialEq<Onion3Addr<'_>> for Onion3Addr<'_>
impl PartialEq<Onion3Addr<'_>> for Onion3Addr<'_>
source§fn eq(&self, other: &Onion3Addr<'_>) -> bool
fn eq(&self, other: &Onion3Addr<'_>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Onion3Addr<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Onion3Addr<'a>
impl<'a> Send for Onion3Addr<'a>
impl<'a> Sync for Onion3Addr<'a>
impl<'a> Unpin for Onion3Addr<'a>
impl<'a> UnwindSafe for Onion3Addr<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more