pub struct RotateWaitpointHmacSecretArgs {
pub new_kid: String,
pub new_secret_hex: String,
pub grace_ms: u64,
}Expand description
Args for ff_rotate_waitpoint_hmac_secret. Rotates the HMAC signing
kid on ONE partition. Callers fan out across every partition themselves
(ff-server does the parallel fan-out in rotate_waitpoint_secret;
direct-Valkey consumers mirror the pattern).
“now” is derived server-side from redis.call("TIME") inside the FCALL
(consistency with validate_waitpoint_token and flow scanners).
grace_ms is a duration, not a clock value, so carrying it from the
caller is safe.
Fields§
§new_kid: String§new_secret_hex: String§grace_ms: u64Grace window in ms. Must be non-negative. Tokens signed by the
outgoing kid remain valid for grace_ms after this rotation.
Trait Implementations§
Source§impl Clone for RotateWaitpointHmacSecretArgs
impl Clone for RotateWaitpointHmacSecretArgs
Source§fn clone(&self) -> RotateWaitpointHmacSecretArgs
fn clone(&self) -> RotateWaitpointHmacSecretArgs
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 moreAuto Trait Implementations§
impl Freeze for RotateWaitpointHmacSecretArgs
impl RefUnwindSafe for RotateWaitpointHmacSecretArgs
impl Send for RotateWaitpointHmacSecretArgs
impl Sync for RotateWaitpointHmacSecretArgs
impl Unpin for RotateWaitpointHmacSecretArgs
impl UnsafeUnpin for RotateWaitpointHmacSecretArgs
impl UnwindSafe for RotateWaitpointHmacSecretArgs
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