pub struct CachedKey {
pub key: SymmetricKey,
pub cached_at: SystemTime,
pub ttl: Duration,
pub usage_count: u64,
}Expand description
Cached derived key
Fieldsยง
ยงkey: SymmetricKeyDerived key
cached_at: SystemTimeCache timestamp
ttl: DurationCache TTL
usage_count: u64Usage count since cached
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for CachedKey
impl RefUnwindSafe for CachedKey
impl Send for CachedKey
impl Sync for CachedKey
impl Unpin for CachedKey
impl UnsafeUnpin for CachedKey
impl UnwindSafe for CachedKey
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