pub enum Profile {
Default,
MinimalTlsClient,
TlsServerPki,
CryptoOnly,
FipsLike,
UtAllFeatures,
}Expand description
Named build or deployment profiles that map to coarse-grained feature sets.
Variants§
Default
Balanced client/server defaults with modern TLS and optional DTLS.
MinimalTlsClient
TLS client-oriented subset without DTLS exposure.
TlsServerPki
TLS/DTLS server profile including certificate issuance helpers.
CryptoOnly
Cryptographic primitives only (no TLS/DTLS or X.509 stack).
FipsLike
Conservative TLS profile aimed at stricter deployment assumptions.
UtAllFeatures
Internal or test profile enabling the broadest compiled feature surface.
Implementations§
Source§impl Profile
impl Profile
Sourcepub fn features(self) -> FeatureSet
pub fn features(self) -> FeatureSet
Returns the feature flags implied by this profile for documentation and tooling.
§Arguments
self— Profile variant to expand into concrete flags.
§Returns
A FeatureSet describing TLS/DTLS, certificate, hash, symmetric, DRBG, and PKC availability.
§Panics
This function does not panic.
Trait Implementations§
impl Copy for Profile
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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