[−][src]Struct security_framework::trust::TrustResult
The result of trust evaluation.
Implementations
impl TrustResult[src]
pub const INVALID: Self[src]
An invalid setting or result.
pub const PROCEED: Self[src]
You may proceed.
pub const DENY: Self[src]
Indicates a denial by the user, do not proceed.
pub const UNSPECIFIED: Self[src]
The certificate is implicitly trusted.
pub const RECOVERABLE_TRUST_FAILURE: Self[src]
Indicates a trust policy failure that the user can override.
pub const FATAL_TRUST_FAILURE: Self[src]
Indicates a trust policy failure that the user cannot override.
pub const OTHER_ERROR: Self[src]
An error not related to trust validation.
impl TrustResult[src]
pub fn success(self) -> bool[src]
Returns true if the result is "successful" - specifically PROCEED or UNSPECIFIED.
Trait Implementations
impl Clone for TrustResult[src]
fn clone(&self) -> TrustResult[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for TrustResult[src]
impl Debug for TrustResult[src]
impl Eq for TrustResult[src]
impl PartialEq<TrustResult> for TrustResult[src]
fn eq(&self, other: &TrustResult) -> bool[src]
fn ne(&self, other: &TrustResult) -> bool[src]
impl StructuralEq for TrustResult[src]
impl StructuralPartialEq for TrustResult[src]
Auto Trait Implementations
impl RefUnwindSafe for TrustResult
impl Send for TrustResult
impl Sync for TrustResult
impl Unpin for TrustResult
impl UnwindSafe for TrustResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,