pub enum KeyTrust {
NotAuth,
NotPrivate,
AuthOrPrivate,
DoNotTrust,
}
Expand description
Specifies in what contexts this key may be trusted for use
Variants
NotAuth
Use of the key is prohibited for authentication
NotPrivate
Use of the key is prohibited for confidentiality
AuthOrPrivate
Use of the key for authentication and/or confidentiality is permitted
DoNotTrust
If both bits are one, the “no key” value, (revocation?)
Trait Implementations
impl Copy for KeyTrust
impl Eq for KeyTrust
impl StructuralEq for KeyTrust
impl StructuralPartialEq for KeyTrust
Auto Trait Implementations
impl RefUnwindSafe for KeyTrust
impl Send for KeyTrust
impl Sync for KeyTrust
impl Unpin for KeyTrust
impl UnwindSafe for KeyTrust
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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