pub enum CryptMode {
Encrypt,
Decrypt,
}
Expand description
The cryptographic mode for a crypter: encrypt or decrypt.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CryptMode
impl RefUnwindSafe for CryptMode
impl Send for CryptMode
impl Sync for CryptMode
impl Unpin for CryptMode
impl UnwindSafe for CryptMode
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