#[repr(C)]pub struct NatKey {
pub src_addr: u32,
pub dst_addr: u32,
pub src_port: u16,
pub dst_port: u16,
}Fields§
§src_addr: u32§dst_addr: u32§src_port: u16§dst_port: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for NatKey
impl RefUnwindSafe for NatKey
impl Send for NatKey
impl Sync for NatKey
impl Unpin for NatKey
impl UnwindSafe for NatKey
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