pub struct EncryptedPayload<'a>(pub &'a [u8]);
Expand description
Encrypted Payload
The Encrypted payload, denoted SK {…} in this document, contains other payloads in encrypted form. The Encrypted payload, if present in a message, MUST be the last payload in the message. Often, it is the only payload in the message. This payload is also called the “Encrypted and Authenticated” payload.
Tuple Fields§
§0: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for EncryptedPayload<'a>
impl<'a> Debug for EncryptedPayload<'a>
Source§impl<'a> PartialEq for EncryptedPayload<'a>
impl<'a> PartialEq for EncryptedPayload<'a>
impl<'a> StructuralPartialEq for EncryptedPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncryptedPayload<'a>
impl<'a> RefUnwindSafe for EncryptedPayload<'a>
impl<'a> Send for EncryptedPayload<'a>
impl<'a> Sync for EncryptedPayload<'a>
impl<'a> Unpin for EncryptedPayload<'a>
impl<'a> UnwindSafe for EncryptedPayload<'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