pub struct TunnelAddr { /* private fields */ }
Expand description
Essentially a SocketAddr, except we prefer a human readable hostname to identify the remote endpoint.
Implementations§
Trait Implementations§
Source§impl Clone for TunnelAddr
impl Clone for TunnelAddr
Source§fn clone(&self) -> TunnelAddr
fn clone(&self) -> TunnelAddr
Returns a duplicate 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 TunnelAddr
impl Debug for TunnelAddr
Source§impl From<TunnelAddr> for SocketAddr
impl From<TunnelAddr> for SocketAddr
Source§fn from(addr: TunnelAddr) -> Self
fn from(addr: TunnelAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TunnelAddr
impl RefUnwindSafe for TunnelAddr
impl Send for TunnelAddr
impl Sync for TunnelAddr
impl Unpin for TunnelAddr
impl UnwindSafe for TunnelAddr
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