Struct tor_interface::tor_provider::OnionAddrV3
source · pub struct OnionAddrV3 { /* private fields */ }Implementations§
source§impl OnionAddrV3
impl OnionAddrV3
pub fn new(service_id: V3OnionServiceId, virt_port: u16) -> OnionAddrV3
pub fn service_id(&self) -> &V3OnionServiceId
Trait Implementations§
source§impl Clone for OnionAddrV3
impl Clone for OnionAddrV3
source§fn clone(&self) -> OnionAddrV3
fn clone(&self) -> OnionAddrV3
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 OnionAddrV3
impl Debug for OnionAddrV3
source§impl Display for OnionAddrV3
impl Display for OnionAddrV3
source§impl Hash for OnionAddrV3
impl Hash for OnionAddrV3
source§impl Ord for OnionAddrV3
impl Ord for OnionAddrV3
source§fn cmp(&self, other: &OnionAddrV3) -> Ordering
fn cmp(&self, other: &OnionAddrV3) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OnionAddrV3
impl PartialEq for OnionAddrV3
source§fn eq(&self, other: &OnionAddrV3) -> bool
fn eq(&self, other: &OnionAddrV3) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for OnionAddrV3
impl PartialOrd for OnionAddrV3
source§fn partial_cmp(&self, other: &OnionAddrV3) -> Option<Ordering>
fn partial_cmp(&self, other: &OnionAddrV3) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for OnionAddrV3
impl StructuralEq for OnionAddrV3
impl StructuralPartialEq for OnionAddrV3
Auto Trait Implementations§
impl RefUnwindSafe for OnionAddrV3
impl Send for OnionAddrV3
impl Sync for OnionAddrV3
impl Unpin for OnionAddrV3
impl UnwindSafe for OnionAddrV3
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