[−][src]Struct sequoia_openpgp::packet::Features
Describes features supported by an OpenPGP implementation.
Methods
impl Features
[src]
pub fn new(bits: &[u8]) -> Self
[src]
Creates a new instance from bits
.
pub fn sequoia() -> Self
[src]
Returns an feature set describing Sequoia.
pub fn supports_mdc(&self) -> bool
[src]
Whether or not MDC is supported.
pub fn set_mdc(self, v: bool) -> Self
[src]
Sets whether or not MDC is supported.
pub fn supports_aead(&self) -> bool
[src]
Whether or not AEAD is supported.
pub fn set_aead(self, v: bool) -> Self
[src]
Sets whether or not AEAD is supported.
Trait Implementations
impl Default for Features
[src]
impl PartialEq<Features> for Features
[src]
impl Clone for Features
[src]
fn clone(&self) -> Features
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Features
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,