[−]Struct pgp::packet::types::KeyFlags
Methods
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 shared(&self) -> bool
pub fn set_shared(&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<'a> From<&'a [u8]> for KeyFlags
[src]
impl From<KeyFlags> for SmallVec<[u8; 1]>
[src]
impl Clone for KeyFlags
[src]
impl Copy for KeyFlags
[src]
impl Default for KeyFlags
[src]
impl Eq for KeyFlags
[src]
impl PartialEq<KeyFlags> for KeyFlags
[src]
impl Debug for KeyFlags
impl StructuralPartialEq for KeyFlags
[src]
impl StructuralEq for KeyFlags
[src]
impl<T> BitRange<T> for KeyFlags where
u8: BitRange<T>,
u8: BitRange<T>,
Auto Trait Implementations
impl Send for KeyFlags
impl Sync for KeyFlags
impl Unpin for KeyFlags
impl UnwindSafe for KeyFlags
impl RefUnwindSafe for KeyFlags
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Bit for T where
T: BitRange<u8>,
[src]
T: BitRange<u8>,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
[src]
T: InitializableFromZeroed + ?Sized,
impl<T> InitializableFromZeroed for T where
T: Default,
[src]
T: Default,
unsafe fn initialize(place: *mut T)
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,