pub struct QueryCache {
pub logs: LruCache<String, String>,
pub traces: LruCache<String, String>,
pub metrics: LruCache<String, String>,
}Expand description
Cache for query results
Fields§
§logs: LruCache<String, String>Cache for logs queries (key: query params hash, value: JSON response)
traces: LruCache<String, String>Cache for traces queries
metrics: LruCache<String, String>Cache for metrics queries
Implementations§
Source§impl QueryCache
impl QueryCache
Trait Implementations§
Source§impl Clone for QueryCache
impl Clone for QueryCache
Auto Trait Implementations§
impl Freeze for QueryCache
impl RefUnwindSafe for QueryCache
impl Send for QueryCache
impl Sync for QueryCache
impl Unpin for QueryCache
impl UnsafeUnpin for QueryCache
impl UnwindSafe for QueryCache
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