#[repr(u8)]pub enum AesKeysize {
AES_128_ONLY = 0,
AES_192_ONLY = 1,
AES_256_ONLY = 2,
ALL_KEYSIZE = 3,
}Variants§
AES_128_ONLY = 0
128 0nly
AES_192_ONLY = 1
192 only
AES_256_ONLY = 2
256 only
ALL_KEYSIZE = 3
All key sizes
Implementations§
Source§impl AesKeysize
impl AesKeysize
Trait Implementations§
Source§impl Clone for AesKeysize
impl Clone for AesKeysize
Source§fn clone(&self) -> AesKeysize
fn clone(&self) -> AesKeysize
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 AesKeysize
impl Debug for AesKeysize
Source§impl From<AesKeysize> for u8
impl From<AesKeysize> for u8
Source§fn from(val: AesKeysize) -> u8
fn from(val: AesKeysize) -> u8
Converts to this type from the input type.
Source§impl From<u8> for AesKeysize
impl From<u8> for AesKeysize
Source§fn from(val: u8) -> AesKeysize
fn from(val: u8) -> AesKeysize
Converts to this type from the input type.
Source§impl Ord for AesKeysize
impl Ord for AesKeysize
Source§fn cmp(&self, other: &AesKeysize) -> Ordering
fn cmp(&self, other: &AesKeysize) -> 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 AesKeysize
impl PartialEq for AesKeysize
Source§impl PartialOrd for AesKeysize
impl PartialOrd for AesKeysize
impl Copy for AesKeysize
impl Eq for AesKeysize
impl StructuralPartialEq for AesKeysize
Auto Trait Implementations§
impl Freeze for AesKeysize
impl RefUnwindSafe for AesKeysize
impl Send for AesKeysize
impl Sync for AesKeysize
impl Unpin for AesKeysize
impl UnwindSafe for AesKeysize
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