pub enum EpochStatus {
Active,
Rotating,
Expired,
}Expand description
Lifecycle status of a key epoch.
Variants§
Active
This epoch’s key is the current encryption key.
Rotating
A newer epoch is active; this epoch’s key is still available for decryption but will not be used for new encryptions.
Expired
This epoch’s key has been destroyed. Decryption is no longer possible.
Trait Implementations§
Source§impl Clone for EpochStatus
impl Clone for EpochStatus
Source§fn clone(&self) -> EpochStatus
fn clone(&self) -> EpochStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EpochStatus
impl Debug for EpochStatus
Source§impl<'de> Deserialize<'de> for EpochStatus
impl<'de> Deserialize<'de> for EpochStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EpochStatus
impl PartialEq for EpochStatus
Source§impl Serialize for EpochStatus
impl Serialize for EpochStatus
impl Copy for EpochStatus
impl Eq for EpochStatus
impl StructuralPartialEq for EpochStatus
Auto Trait Implementations§
impl Freeze for EpochStatus
impl RefUnwindSafe for EpochStatus
impl Send for EpochStatus
impl Sync for EpochStatus
impl Unpin for EpochStatus
impl UnwindSafe for EpochStatus
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