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