pub struct TracerQueryKey {
pub query_type: &'static str,
pub cache_key_debug: String,
}Expand description
Represents a query key in a type-erased manner for tracing.
Fields§
§query_type: &'static strThe query type name (e.g., “calc::ParseExpr”)
cache_key_debug: StringDebug representation of the cache key (e.g., “("main.txt",)”)
Implementations§
Trait Implementations§
Source§impl Clone for TracerQueryKey
impl Clone for TracerQueryKey
Source§fn clone(&self) -> TracerQueryKey
fn clone(&self) -> TracerQueryKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TracerQueryKey
impl Debug for TracerQueryKey
Source§impl Hash for TracerQueryKey
impl Hash for TracerQueryKey
Source§impl PartialEq for TracerQueryKey
impl PartialEq for TracerQueryKey
impl Eq for TracerQueryKey
impl StructuralPartialEq for TracerQueryKey
Auto Trait Implementations§
impl Freeze for TracerQueryKey
impl RefUnwindSafe for TracerQueryKey
impl Send for TracerQueryKey
impl Sync for TracerQueryKey
impl Unpin for TracerQueryKey
impl UnwindSafe for TracerQueryKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.