pub struct NatType {
pub mode: NatMode,
pub mapping_behavior: EndpointDependencyType,
pub filtering_behavior: EndpointDependencyType,
pub hair_pining: bool,
pub port_preservation: bool,
pub mapping_life_time: Duration,
}
Fields
mode: NatMode
mapping_behavior: EndpointDependencyType
filtering_behavior: EndpointDependencyType
hair_pining: bool
port_preservation: bool
mapping_life_time: Duration
Trait Implementations
impl Copy for NatType
Auto Trait Implementations
impl RefUnwindSafe for NatType
impl Send for NatType
impl Sync for NatType
impl Unpin for NatType
impl UnwindSafe for NatType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more