pub enum RotateWaitpointHmacSecretOutcome {
Rotated {
previous_kid: Option<String>,
new_kid: String,
gc_count: u32,
},
Noop {
kid: String,
},
}Expand description
Outcome of a single-partition rotation.
Variants§
Rotated
Installed the new kid. previous_kid is None on bootstrap
(no prior current_kid). gc_count counts expired kids reaped
during this rotation.
Noop
Exact replay — same kid + same secret already installed. Safe operator retry; no state change.
Trait Implementations§
Source§impl Clone for RotateWaitpointHmacSecretOutcome
impl Clone for RotateWaitpointHmacSecretOutcome
Source§fn clone(&self) -> RotateWaitpointHmacSecretOutcome
fn clone(&self) -> RotateWaitpointHmacSecretOutcome
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 PartialEq for RotateWaitpointHmacSecretOutcome
impl PartialEq for RotateWaitpointHmacSecretOutcome
Source§fn eq(&self, other: &RotateWaitpointHmacSecretOutcome) -> bool
fn eq(&self, other: &RotateWaitpointHmacSecretOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RotateWaitpointHmacSecretOutcome
impl StructuralPartialEq for RotateWaitpointHmacSecretOutcome
Auto Trait Implementations§
impl Freeze for RotateWaitpointHmacSecretOutcome
impl RefUnwindSafe for RotateWaitpointHmacSecretOutcome
impl Send for RotateWaitpointHmacSecretOutcome
impl Sync for RotateWaitpointHmacSecretOutcome
impl Unpin for RotateWaitpointHmacSecretOutcome
impl UnsafeUnpin for RotateWaitpointHmacSecretOutcome
impl UnwindSafe for RotateWaitpointHmacSecretOutcome
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