pub struct ESPHeader<'a> {
pub spi_index: &'a [u8],
pub seq: u32,
pub data: &'a [u8],
}
Expand description
Encapsulating Security Payload Packet Format
Defined in RFC2406 section 2
Fields§
§spi_index: &'a [u8]
§seq: u32
§data: &'a [u8]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ESPHeader<'a>
impl<'a> RefUnwindSafe for ESPHeader<'a>
impl<'a> Send for ESPHeader<'a>
impl<'a> Sync for ESPHeader<'a>
impl<'a> Unpin for ESPHeader<'a>
impl<'a> UnwindSafe for ESPHeader<'a>
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