pub enum KeySize {
Unspecified,
AES128,
AES192,
AES256,
}
Variants§
Implementations§
Trait Implementations§
Source§impl TryFrom<u16> for KeySize
impl TryFrom<u16> for KeySize
Source§type Error = OptionsError
type Error = OptionsError
The type returned in the event of a conversion error.
impl Copy for KeySize
impl Eq for KeySize
impl StructuralPartialEq for KeySize
Auto Trait Implementations§
impl Freeze for KeySize
impl RefUnwindSafe for KeySize
impl Send for KeySize
impl Sync for KeySize
impl Unpin for KeySize
impl UnwindSafe for KeySize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.