Enum proxy_stream::address::DestinationAddress
source · pub enum DestinationAddress {
Domain(String, u16),
Ip(SocketAddr),
}Variants§
Domain(String, u16)
Ip(SocketAddr)
Implementations§
Trait Implementations§
source§impl Clone for DestinationAddress
impl Clone for DestinationAddress
source§fn clone(&self) -> DestinationAddress
fn clone(&self) -> DestinationAddress
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 DestinationAddress
impl Debug for DestinationAddress
Auto Trait Implementations§
impl RefUnwindSafe for DestinationAddress
impl Send for DestinationAddress
impl Sync for DestinationAddress
impl Unpin for DestinationAddress
impl UnwindSafe for DestinationAddress
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