pub enum S2kUsage {
Unprotected,
LegacyCfb(SymmetricKeyAlgorithm),
Aead,
Cfb,
MalleableCfb,
}
Expand description
The available s2k usages.
Ref 3.7.2.1. Secret-Key Encryption
Variants§
Trait Implementations§
impl Copy for S2kUsage
impl Eq for S2kUsage
impl StructuralPartialEq for S2kUsage
Auto Trait Implementations§
impl Freeze for S2kUsage
impl RefUnwindSafe for S2kUsage
impl Send for S2kUsage
impl Sync for S2kUsage
impl Unpin for S2kUsage
impl UnwindSafe for S2kUsage
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