pub enum CipherMode {
Ecb,
Cbc,
Ctr,
Ccm,
Gcm,
}Expand description
Cipher operation mode.
Variants§
Trait Implementations§
Source§impl Clone for CipherMode
impl Clone for CipherMode
Source§fn clone(&self) -> CipherMode
fn clone(&self) -> CipherMode
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 moreimpl Copy for CipherMode
Source§impl Debug for CipherMode
impl Debug for CipherMode
impl Eq for CipherMode
Source§impl PartialEq for CipherMode
impl PartialEq for CipherMode
Source§fn eq(&self, other: &CipherMode) -> bool
fn eq(&self, other: &CipherMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CipherMode
Auto Trait Implementations§
impl Freeze for CipherMode
impl RefUnwindSafe for CipherMode
impl Send for CipherMode
impl Sync for CipherMode
impl Unpin for CipherMode
impl UnsafeUnpin 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