pub enum KeyFormat {
Protected,
Raw,
}Expand description
Whether a stored key needs a passphrase, so a caller can prompt only when needed.
Variants§
Trait Implementations§
impl Copy for KeyFormat
impl Eq for KeyFormat
impl StructuralPartialEq for KeyFormat
Auto Trait Implementations§
impl Forget for KeyFormat
impl Freeze for KeyFormat
impl Move for KeyFormat
impl RefUnwindSafe for KeyFormat
impl Send for KeyFormat
impl Sync for KeyFormat
impl Unpin for KeyFormat
impl UnsafeUnpin for KeyFormat
impl UnwindSafe for KeyFormat
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