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

pub struct TrustResult(_);

The result of trust evaluation.

Methods

impl TrustResult[src]

pub const INVALID: TrustResult[src]

An invalid setting or result.

pub const PROCEED: TrustResult[src]

You may proceed.

pub const DENY: TrustResult[src]

Indicates a denial by the user, do not proceed.

pub const UNSPECIFIED: TrustResult[src]

The certificate is implicitly trusted.

pub const RECOVERABLE_TRUST_FAILURE: TrustResult[src]

Indicates a trust policy failure that the user can override.

pub const FATAL_TRUST_FAILURE: TrustResult[src]

Indicates a trust policy failure that the user cannot override.

pub const OTHER_ERROR: TrustResult[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 Eq for TrustResult[src]

impl Copy for TrustResult[src]

impl PartialEq<TrustResult> for TrustResult[src]

impl Clone for TrustResult[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TrustResult[src]

Auto Trait Implementations

impl Send for TrustResult

impl Sync for TrustResult

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.