pub enum KeyLength {
Bits(u16),
Ec(KeyLengthEc),
Dh(KeyLengthDh),
}Expand description
Variants§
Bits(u16)
Key length represented by number of bits
bitsneeds to be divisible by 8.
Ec(KeyLengthEc)
Specific key lengths for Elliptic Curve keys
Dh(KeyLengthDh)
Specific key lengths for Diffie-Hellman key
Trait Implementations§
impl StructuralPartialEq for KeyLength
Auto Trait Implementations§
impl Freeze for KeyLength
impl RefUnwindSafe for KeyLength
impl Send for KeyLength
impl Sync for KeyLength
impl Unpin for KeyLength
impl UnwindSafe for KeyLength
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