#[repr(u8)]pub enum CipherMode {
Show 16 variants
ECB = 0,
CBC = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
ECB = 0
ECB
CBC = 1
CBC
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl CipherMode
impl CipherMode
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 · 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 CipherMode
impl Debug for CipherMode
Source§impl From<CipherMode> for u8
impl From<CipherMode> for u8
Source§fn from(val: CipherMode) -> u8
fn from(val: CipherMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CipherMode
impl From<u8> for CipherMode
Source§fn from(val: u8) -> CipherMode
fn from(val: u8) -> CipherMode
Converts to this type from the input type.
Source§impl Ord for CipherMode
impl Ord for CipherMode
Source§fn cmp(&self, other: &CipherMode) -> Ordering
fn cmp(&self, other: &CipherMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CipherMode
impl PartialEq for CipherMode
Source§impl PartialOrd for CipherMode
impl PartialOrd for CipherMode
impl Copy for CipherMode
impl Eq for CipherMode
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 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