pub enum Revocation {
Retired,
AlreadyRetired,
}Expand description
What a revocation actually did.
Returned rather than inferred, for the reason StatusChange is: an
operator retiring a suspicious credential needs to know whether they
retired anything. “Already revoked” and “no such key” are different
answers to the same request and only one of them is a mistake.
Variants§
Retired
The credential was live and is now retired.
AlreadyRetired
The credential was already retired; nothing changed.
Trait Implementations§
Source§impl Clone for Revocation
impl Clone for Revocation
impl Copy for Revocation
Source§impl Debug for Revocation
impl Debug for Revocation
impl Eq for Revocation
Source§impl PartialEq for Revocation
impl PartialEq for Revocation
impl StructuralPartialEq for Revocation
Auto Trait Implementations§
impl Freeze for Revocation
impl RefUnwindSafe for Revocation
impl Send for Revocation
impl Sync for Revocation
impl Unpin for Revocation
impl UnsafeUnpin for Revocation
impl UnwindSafe for Revocation
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