#[repr(u8)]pub enum Status {
Granted = 0,
GrantedWithMods = 1,
Rejection = 2,
Waiting = 3,
RevocationWarning = 4,
RevocationNotification = 5,
}Expand description
The six understood RFC3161 §2.4.2 status values. Unknown values refuse.
Variants§
Granted = 0
A requested token is present; its cryptographic checks remain necessary.
GrantedWithMods = 1
A token with modifications is present, still subject to request checks.
Rejection = 2
The request was rejected; this unauthenticated status is no proof.
Waiting = 3
A response is not yet available; no polling is performed here.
RevocationWarning = 4
An unauthenticated warning of imminent revocation.
RevocationNotification = 5
An unauthenticated notification of revocation.
Implementations§
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more