pub enum RotationPhase {
Active,
Transitioning,
}Expand description
Where the rotation state machine currently sits.
Variants§
Active
Single active key. Steady state.
Transitioning
Both old and new keys are trusted. Hosts accept signatures from
either. Lasts until transition_until passes.
Trait Implementations§
Source§impl Clone for RotationPhase
impl Clone for RotationPhase
Source§fn clone(&self) -> RotationPhase
fn clone(&self) -> RotationPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RotationPhase
impl Debug for RotationPhase
Source§impl<'de> Deserialize<'de> for RotationPhase
impl<'de> Deserialize<'de> for RotationPhase
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 RotationPhase
impl PartialEq for RotationPhase
Source§fn eq(&self, other: &RotationPhase) -> bool
fn eq(&self, other: &RotationPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RotationPhase
impl Serialize for RotationPhase
impl Copy for RotationPhase
impl Eq for RotationPhase
impl StructuralPartialEq for RotationPhase
Auto Trait Implementations§
impl Freeze for RotationPhase
impl RefUnwindSafe for RotationPhase
impl Send for RotationPhase
impl Sync for RotationPhase
impl Unpin for RotationPhase
impl UnsafeUnpin for RotationPhase
impl UnwindSafe for RotationPhase
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