Enum secured_cipher::CipherMode
source · pub enum CipherMode {
ChaCha20Poly1305,
Custom(Box<dyn EncryptionAlgorithm>, Box<dyn AEADAlgorithm>),
}Variants§
ChaCha20Poly1305
Custom(Box<dyn EncryptionAlgorithm>, Box<dyn AEADAlgorithm>)
Auto Trait Implementations§
impl !RefUnwindSafe for CipherMode
impl !Send for CipherMode
impl !Sync for CipherMode
impl Unpin for CipherMode
impl !UnwindSafe for CipherMode
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