pub struct DeletePayload<'a> {
pub protocol_id: ProtocolID,
pub spi_size: u8,
pub num_spi: u16,
pub spi: &'a [u8],
}
Expand description
Delete Payload
The Delete payload, denoted D in this document, contains a protocol-specific Security Association identifier that the sender has removed from its Security Association database and is, therefore, no longer valid. Figure 17 shows the format of the Delete payload. It is possible to send multiple SPIs in a Delete payload; however, each SPI MUST be for the same protocol. Mixing of protocol identifiers MUST NOT be performed in the Delete payload. It is permitted, however, to include multiple Delete payloads in a single INFORMATIONAL exchange where each Delete payload lists SPIs for a different protocol.
Defined in RFC7296 section 3.11
Fields§
§protocol_id: ProtocolID
§spi_size: u8
§num_spi: u16
§spi: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for DeletePayload<'a>
impl<'a> Debug for DeletePayload<'a>
Source§impl<'a> PartialEq for DeletePayload<'a>
impl<'a> PartialEq for DeletePayload<'a>
impl<'a> StructuralPartialEq for DeletePayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeletePayload<'a>
impl<'a> RefUnwindSafe for DeletePayload<'a>
impl<'a> Send for DeletePayload<'a>
impl<'a> Sync for DeletePayload<'a>
impl<'a> Unpin for DeletePayload<'a>
impl<'a> UnwindSafe for DeletePayload<'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