[−][src]Struct security_framework::trust::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]
fn eq(&self, other: &TrustResult) -> bool
[src]
fn ne(&self, other: &TrustResult) -> bool
[src]
impl Clone for TrustResult
[src]
fn clone(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,