pub struct InMemoryCache { /* private fields */ }
Expand description
Default in-memory implementation of JwksCache
using standard library types.
This implementation provides a simple, thread-safe cache that automatically cleans up expired entries. It’s suitable for single-instance deployments where cache persistence across restarts is not required.
Implementations§
Source§impl InMemoryCache
impl InMemoryCache
Trait Implementations§
Source§impl Debug for InMemoryCache
impl Debug for InMemoryCache
Source§impl Default for InMemoryCache
impl Default for InMemoryCache
Auto Trait Implementations§
impl Freeze for InMemoryCache
impl RefUnwindSafe for InMemoryCache
impl Send for InMemoryCache
impl Sync for InMemoryCache
impl Unpin for InMemoryCache
impl UnwindSafe for InMemoryCache
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