pub struct AeadEncryptResponse {
pub ciphertext: Vec<u8>,
pub tag: [u8; 16],
}Expand description
Carries AES-GCM encryption outputs.
Fields§
§ciphertext: Vec<u8>Produced ciphertext bytes.
tag: [u8; 16]Produced 16-byte authentication tag.
Trait Implementations§
Source§impl Clone for AeadEncryptResponse
impl Clone for AeadEncryptResponse
Source§fn clone(&self) -> AeadEncryptResponse
fn clone(&self) -> AeadEncryptResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AeadEncryptResponse
impl Debug for AeadEncryptResponse
Source§impl PartialEq for AeadEncryptResponse
impl PartialEq for AeadEncryptResponse
Source§fn eq(&self, other: &AeadEncryptResponse) -> bool
fn eq(&self, other: &AeadEncryptResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AeadEncryptResponse
impl StructuralPartialEq for AeadEncryptResponse
Auto Trait Implementations§
impl Freeze for AeadEncryptResponse
impl RefUnwindSafe for AeadEncryptResponse
impl Send for AeadEncryptResponse
impl Sync for AeadEncryptResponse
impl Unpin for AeadEncryptResponse
impl UnsafeUnpin for AeadEncryptResponse
impl UnwindSafe for AeadEncryptResponse
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