Struct security_framework::trust::TrustResult
source · pub struct TrustResult(/* private fields */);
Expand description
The result of trust evaluation.
Implementations§
source§impl TrustResult
impl TrustResult
sourcepub const UNSPECIFIED: Self = _
pub const UNSPECIFIED: Self = _
The certificate is implicitly trusted.
sourcepub const RECOVERABLE_TRUST_FAILURE: Self = _
pub const RECOVERABLE_TRUST_FAILURE: Self = _
Indicates a trust policy failure that the user can override.
sourcepub const FATAL_TRUST_FAILURE: Self = _
pub const FATAL_TRUST_FAILURE: Self = _
Indicates a trust policy failure that the user cannot override.
sourcepub const OTHER_ERROR: Self = _
pub const OTHER_ERROR: Self = _
An error not related to trust validation.
Trait Implementations§
source§impl Clone for TrustResult
impl Clone for TrustResult
source§fn clone(&self) -> TrustResult
fn clone(&self) -> TrustResult
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 TrustResult
impl Debug for TrustResult
source§impl PartialEq for TrustResult
impl PartialEq for TrustResult
source§fn eq(&self, other: &TrustResult) -> bool
fn eq(&self, other: &TrustResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrustResult
impl Eq for TrustResult
impl StructuralPartialEq for TrustResult
Auto Trait Implementations§
impl Freeze for TrustResult
impl RefUnwindSafe for TrustResult
impl Send for TrustResult
impl Sync for TrustResult
impl Unpin for TrustResult
impl UnwindSafe for TrustResult
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)