#[repr(C, packed(1))]pub struct IcmpHdrPhoturis {
pub reserved_spi: [u8; 2],
pub pointer: [u8; 2],
}Expand description
For ICMP Type 40 (PHOTURIS) Message (RFC 2521) Contains 2 “Reserved” bytes followed by the Security Parameters Index used for a security association between two peers. Also includes a 2-byte pointer field indicating where in the message the error was detected.
Fields§
§reserved_spi: [u8; 2]§pointer: [u8; 2]Trait Implementations§
Source§impl Clone for IcmpHdrPhoturis
impl Clone for IcmpHdrPhoturis
Source§fn clone(&self) -> IcmpHdrPhoturis
fn clone(&self) -> IcmpHdrPhoturis
Returns a duplicate 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 IcmpHdrPhoturis
impl Debug for IcmpHdrPhoturis
impl Copy for IcmpHdrPhoturis
Auto Trait Implementations§
impl Freeze for IcmpHdrPhoturis
impl RefUnwindSafe for IcmpHdrPhoturis
impl Send for IcmpHdrPhoturis
impl Sync for IcmpHdrPhoturis
impl Unpin for IcmpHdrPhoturis
impl UnwindSafe for IcmpHdrPhoturis
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