pub enum ProxyAddresses {
Unspec,
Ipv4 {
source: SocketAddrV4,
destination: SocketAddrV4,
},
Ipv6 {
source: SocketAddrV6,
destination: SocketAddrV6,
},
Unix {
source: [u8; 108],
destination: [u8; 108],
},
}
Variants§
Trait Implementations§
Source§impl Clone for ProxyAddresses
impl Clone for ProxyAddresses
Source§fn clone(&self) -> ProxyAddresses
fn clone(&self) -> ProxyAddresses
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 ProxyAddresses
impl Debug for ProxyAddresses
Source§impl Hash for ProxyAddresses
impl Hash for ProxyAddresses
Source§impl PartialEq for ProxyAddresses
impl PartialEq for ProxyAddresses
impl Copy for ProxyAddresses
impl Eq for ProxyAddresses
impl StructuralPartialEq for ProxyAddresses
Auto Trait Implementations§
impl Freeze for ProxyAddresses
impl RefUnwindSafe for ProxyAddresses
impl Send for ProxyAddresses
impl Sync for ProxyAddresses
impl Unpin for ProxyAddresses
impl UnwindSafe for ProxyAddresses
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