pub struct Encrypt;Available on crate feature
allow-non-fips only.Expand description
State where encryption of data can occur.
In this state, the cipher can encrypt data and update the authentication tag accordingly.
Trait Implementations§
Source§impl Updating for Encrypt
impl Updating for Encrypt
Source§type InitState = EncryptMaybeAad
type InitState = EncryptMaybeAad
The initial state type when starting the AEAD operation.
impl State for Encrypt
Auto Trait Implementations§
impl Freeze for Encrypt
impl RefUnwindSafe for Encrypt
impl Send for Encrypt
impl Sync for Encrypt
impl Unpin for Encrypt
impl UnwindSafe for Encrypt
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