pub enum NATMappingType {
NoNAT,
EndpointIndependent,
AddressDependent,
AddressAndPortDependent,
Unknown,
}
Expand description
Defines a NAT type based on mapping behavior.
Variants§
Trait Implementations§
source§impl Clone for NATMappingType
impl Clone for NATMappingType
source§fn clone(&self) -> NATMappingType
fn clone(&self) -> NATMappingType
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 NATMappingType
impl Debug for NATMappingType
source§impl PartialEq<NATMappingType> for NATMappingType
impl PartialEq<NATMappingType> for NATMappingType
source§fn eq(&self, other: &NATMappingType) -> bool
fn eq(&self, other: &NATMappingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NATMappingType
impl Eq for NATMappingType
impl StructuralEq for NATMappingType
impl StructuralPartialEq for NATMappingType
Auto Trait Implementations§
impl RefUnwindSafe for NATMappingType
impl Send for NATMappingType
impl Sync for NATMappingType
impl Unpin for NATMappingType
impl UnwindSafe for NATMappingType
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