[][src]Struct security_framework::trust::TrustResult

pub struct 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]

impl Copy for TrustResult[src]

impl Debug for TrustResult[src]

impl Eq for TrustResult[src]

impl PartialEq<TrustResult> for TrustResult[src]

impl StructuralEq for TrustResult[src]

impl StructuralPartialEq for TrustResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.