[][src]Enum custom_codes::AccessStatus

pub enum AccessStatus {
    Granted,
    Revoked,
    Expired,
    Denied,
    Rejected,
    InProgress,
    AccpetedRAC,
    RejectedRAC,
    Unspecified,
}

Access status of token or access

Examples

let foo = AccessStatus::Granted;
assert_eq!(foo, AccessStatus::Granted);

Variants

Granted

Process or User has been given a lease

Revoked

Token has been discarded

Expired

Access to token or session has expired

Denied

Access has been denied

Rejected

The access token has been rejected because it is not authentic/genuine

InProgress

Operation is being executed

AccpetedRAC

Random Authentication Code (RAC) Token is genuine/authentic and therefore has been accepted

RejectedRAC

Random Authentication Code (RAC) Token is not genuine/authentic and therefore has been rejected

Unspecified

Status of an operation is not initialized

Trait Implementations

impl Clone for AccessStatus[src]

impl Debug for AccessStatus[src]

impl<'de> Deserialize<'de> for AccessStatus[src]

impl Eq for AccessStatus[src]

impl PartialEq<AccessStatus> for AccessStatus[src]

impl Serialize for AccessStatus[src]

impl StructuralEq for AccessStatus[src]

impl StructuralPartialEq for AccessStatus[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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.