pub struct FeatureSet {
pub tls: bool,
pub tls10: bool,
pub tls11: bool,
pub tls12: bool,
pub tls13: bool,
pub dtls: bool,
pub cert: bool,
pub cert_write: bool,
pub hash: bool,
pub encryption: bool,
pub drbg: bool,
pub pkc: bool,
}Expand description
Boolean feature flags describing which protocol and algorithm areas are enabled for a Profile.
Fields§
§tls: boolAny TLS protocol surface is enabled.
tls10: boolTLS 1.0 support flag.
tls11: boolTLS 1.1 support flag.
tls12: boolTLS 1.2 support flag.
tls13: boolTLS 1.3 support flag.
dtls: boolDTLS protocol surface is enabled.
cert: boolX.509 certificate parsing and validation stack is enabled.
cert_write: boolCertificate writing / issuance helpers are enabled.
hash: boolDigest and hash primitives are enabled.
encryption: boolSymmetric encryption algorithms are enabled.
drbg: boolDRBG and entropy-related helpers are enabled.
pkc: boolPublic-key cryptography primitives are enabled.
Trait Implementations§
Source§impl Clone for FeatureSet
impl Clone for FeatureSet
Source§fn clone(&self) -> FeatureSet
fn clone(&self) -> FeatureSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeatureSet
impl Debug for FeatureSet
Source§impl PartialEq for FeatureSet
impl PartialEq for FeatureSet
Source§fn eq(&self, other: &FeatureSet) -> bool
fn eq(&self, other: &FeatureSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeatureSet
impl Eq for FeatureSet
impl StructuralPartialEq for FeatureSet
Auto Trait Implementations§
impl Freeze for FeatureSet
impl RefUnwindSafe for FeatureSet
impl Send for FeatureSet
impl Sync for FeatureSet
impl Unpin for FeatureSet
impl UnsafeUnpin for FeatureSet
impl UnwindSafe for FeatureSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more