[−][src]Enum custom_codes::AccessStatus
Access status of token or access
Examples
let foo = AccessStatus::Granted; assert_eq!(foo, AccessStatus::Granted);
Variants
Process or User has been given a lease
Token has been discarded
Access to token or session has expired
Access has been denied
The access token has been rejected because it is not authentic/genuine
Operation is being executed
Random Authentication Code (RAC) Token is genuine/authentic and therefore has been accepted
Random Authentication Code (RAC) Token is not genuine/authentic and therefore has been rejected
Status of an operation is not initialized
Trait Implementations
impl Clone for AccessStatus
[src]
fn clone(&self) -> AccessStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccessStatus
[src]
impl<'de> Deserialize<'de> for AccessStatus
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for AccessStatus
[src]
impl PartialEq<AccessStatus> for AccessStatus
[src]
fn eq(&self, other: &AccessStatus) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for AccessStatus
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for AccessStatus
[src]
impl StructuralPartialEq for AccessStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccessStatus
impl Send for AccessStatus
impl Sync for AccessStatus
impl Unpin for AccessStatus
impl UnwindSafe for AccessStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,