Struct litep2p::types::multiaddr::Onion3Addr
source · pub struct Onion3Addr<'a>(/* private fields */);
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 for Onion3Addr<'_>
impl PartialEq 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> Freeze for Onion3Addr<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.