pub struct Opened {
pub plaintext: Zeroizing<Vec<u8>>,
pub content_type: ContentType,
}Expand description
An opened (decrypted) message.
Fields§
§plaintext: Zeroizing<Vec<u8>>The recovered plaintext, in a zeroizing buffer.
content_type: ContentTypeThe plaintext content type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opened
impl RefUnwindSafe for Opened
impl Send for Opened
impl Sync for Opened
impl Unpin for Opened
impl UnsafeUnpin for Opened
impl UnwindSafe for Opened
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