pub struct LlmCache { /* private fields */ }Expand description
In-memory LRU cache for LLM responses.
Implementations§
Auto Trait Implementations§
impl Freeze for LlmCache
impl RefUnwindSafe for LlmCache
impl Send for LlmCache
impl Sync for LlmCache
impl Unpin for LlmCache
impl UnwindSafe for LlmCache
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