pub struct CompliancePolicy(/* private fields */);
Expand description
A compliance policy.
Implementations§
Source§impl CompliancePolicy
impl CompliancePolicy
Sourcepub const NONE: CompliancePolicy = _
pub const NONE: CompliancePolicy = _
Does nothing, however setting this does not undo other policies, so trying to set this is an error.
Sourcepub const FIPS_202205: CompliancePolicy = _
pub const FIPS_202205: CompliancePolicy = _
Configures a TLS connection to try and be compliant with NIST requirements, but does not guarantee success. This policy can be called even if Boring is not built with FIPS.
Sourcepub const WPA3_192_202304: CompliancePolicy = _
pub const WPA3_192_202304: CompliancePolicy = _
Partially configures a TLS connection to be compliant with WPA3. Callers must enforce certificate chain requirements themselves. Use of this policy is less secure than the default and not recommended.
Trait Implementations§
Source§impl Clone for CompliancePolicy
impl Clone for CompliancePolicy
Source§fn clone(&self) -> CompliancePolicy
fn clone(&self) -> CompliancePolicy
Returns a copy of the value. Read more
1.0.0 · 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 CompliancePolicy
impl Debug for CompliancePolicy
Source§impl PartialEq for CompliancePolicy
impl PartialEq for CompliancePolicy
impl Copy for CompliancePolicy
impl Eq for CompliancePolicy
impl StructuralPartialEq for CompliancePolicy
Auto Trait Implementations§
impl Freeze for CompliancePolicy
impl RefUnwindSafe for CompliancePolicy
impl Send for CompliancePolicy
impl Sync for CompliancePolicy
impl Unpin for CompliancePolicy
impl UnwindSafe for CompliancePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)