[][src]Enum crev_lib::VerificationStatus

pub enum VerificationStatus {
    Verified(TrustLevel),
    None,
    Flagged,
    Dangerous,
}

Result of verification

Not named Result to avoid confusion with Result type.

Variants

Verified(TrustLevel)NoneFlaggedDangerous

Methods

impl VerificationStatus[src]

pub fn is_verified(&self) -> bool[src]

Trait Implementations

impl Eq for VerificationStatus[src]

impl PartialEq<VerificationStatus> for VerificationStatus[src]

impl Display for VerificationStatus[src]

impl Debug for VerificationStatus[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<T> Same for T

type Output = T

Should always be Self