pub enum KeyMethod {
Clear,
Base64,
Uri,
Prompt,
}Expand description
Method of encryption (Obsolete)
Note: This field is obsolete and MUST NOT be used. It is included only for legacy reasons See RFC 8866 Section 5.12
Variants§
Clear
Untransformed
Base64
Base64 encoded
Uri
URI to obtain the key
Prompt
User should be prompted for the key
Implementations§
Trait Implementations§
impl Copy for KeyMethod
impl Eq for KeyMethod
impl StructuralPartialEq for KeyMethod
Auto Trait Implementations§
impl Freeze for KeyMethod
impl RefUnwindSafe for KeyMethod
impl Send for KeyMethod
impl Sync for KeyMethod
impl Unpin for KeyMethod
impl UnsafeUnpin for KeyMethod
impl UnwindSafe for KeyMethod
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