pub struct IpHeader {
pub src: [u8; 4],
pub dst: [u8; 4],
pub protocol: u8,
pub ttl: u8,
}Fields§
§src: [u8; 4]§dst: [u8; 4]§protocol: u8§ttl: u8Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpHeader
impl RefUnwindSafe for IpHeader
impl Send for IpHeader
impl Sync for IpHeader
impl Unpin for IpHeader
impl UnsafeUnpin for IpHeader
impl UnwindSafe for IpHeader
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