#[non_exhaustive]pub struct RotateWaitpointHmacSecretAllArgs {
pub new_kid: String,
pub new_secret_hex: String,
pub grace_ms: u64,
}Expand description
Args for [EngineBackend::rotate_waitpoint_hmac_secret_all] — the
cluster-wide / backend-native rotation of the waitpoint HMAC
signing kid.
v0.7 migration-master Q4: a single additive trait method
replaces the per-partition fan-out that direct-Valkey consumers
hand-rolled via
[ff_sdk::admin::rotate_waitpoint_hmac_secret_all_partitions].
On Valkey it fans out N FCALLs (one per execution partition);
on Postgres (Wave 4) it resolves to a single INSERT against the
global ff_waitpoint_hmac(kid, secret, rotated_at) table (no
partition_id column). Consumers prefer this method for clarity —
the pre-existing free-fn + per-partition surface stays available
for backwards compat.
#[non_exhaustive] with a Self::new constructor per the
project memory-rule (unbuildable non_exhaustive types are a dead
API).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.new_kid: String§new_secret_hex: String§grace_ms: u64Grace window in ms for tokens signed by the outgoing kid.
Duration (not a clock value), identical to
RotateWaitpointHmacSecretArgs::grace_ms.
Implementations§
Trait Implementations§
Source§impl Clone for RotateWaitpointHmacSecretAllArgs
impl Clone for RotateWaitpointHmacSecretAllArgs
Source§fn clone(&self) -> RotateWaitpointHmacSecretAllArgs
fn clone(&self) -> RotateWaitpointHmacSecretAllArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more