Enum tor_interface::tor_provider::TargetAddr
source · pub enum TargetAddr {
Ip(SocketAddr),
Domain(String, u16),
OnionService(OnionAddr),
}Variants§
Trait Implementations§
source§impl Clone for TargetAddr
impl Clone for TargetAddr
source§fn clone(&self) -> TargetAddr
fn clone(&self) -> TargetAddr
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TargetAddr
impl Send for TargetAddr
impl Sync for TargetAddr
impl Unpin for TargetAddr
impl UnwindSafe for TargetAddr
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