pub enum Secrecy {
Public,
Secret,
}
Expand description
A key can either be public, of secret.
The secret case also applies to private keys for asymmetric algorithms.
Variants
Public
Secret
Trait Implementations
impl Copy for Secrecy
impl Eq for Secrecy
impl StructuralEq for Secrecy
impl StructuralPartialEq for Secrecy
Auto Trait Implementations
impl RefUnwindSafe for Secrecy
impl Send for Secrecy
impl Sync for Secrecy
impl Unpin for Secrecy
impl UnwindSafe for Secrecy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more