pub struct KeyFlags(pub u8);
Tuple Fields
0: u8
Implementations
sourceimpl KeyFlags
impl KeyFlags
pub fn certify(&self) -> bool
pub fn set_certify(&mut self, value: bool)
pub fn sign(&self) -> bool
pub fn set_sign(&mut self, value: bool)
pub fn encrypt_comms(&self) -> bool
pub fn set_encrypt_comms(&mut self, value: bool)
pub fn encrypt_storage(&self) -> bool
pub fn set_encrypt_storage(&mut self, value: bool)
pub fn authentication(&self) -> bool
pub fn set_authentication(&mut self, value: bool)
pub fn group(&self) -> bool
pub fn set_group(&mut self, value: bool)
Trait Implementations
impl Copy for KeyFlags
impl Eq for KeyFlags
impl StructuralEq for KeyFlags
impl StructuralPartialEq for KeyFlags
Auto Trait Implementations
impl RefUnwindSafe for KeyFlags
impl Send for KeyFlags
impl Sync for KeyFlags
impl Unpin for KeyFlags
impl UnwindSafe for KeyFlags
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