#[repr(C, packed(1))]pub struct Ipv4Addr {
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 Ipv4Addr
impl RefUnwindSafe for Ipv4Addr
impl Send for Ipv4Addr
impl Sync for Ipv4Addr
impl Unpin for Ipv4Addr
impl UnwindSafe for Ipv4Addr
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