pub struct KeyStore {
pub current: KeyEntry,
pub previous: Option<KeyEntry>,
pub next: Option<KeyEntry>,
}Fields§
§current: KeyEntry§previous: Option<KeyEntry>§next: Option<KeyEntry>Pre-warmed entry generated KEY_WARM_LEAD_SECS before the next rotation.
The rotation tick consumes this instead of generating a new key on the hot path.
Auto Trait Implementations§
impl Freeze for KeyStore
impl RefUnwindSafe for KeyStore
impl Send for KeyStore
impl Sync for KeyStore
impl Unpin for KeyStore
impl UnsafeUnpin for KeyStore
impl UnwindSafe for KeyStore
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