pub struct CapabilityCacheKey {
pub binary_path: PathBuf,
}Expand description
Cache key for capability snapshots derived from a specific Codex binary path.
Cache lookups should canonicalize the path when possible so symlinked binaries collapse to a single entry.
Fields§
§binary_path: PathBufCanonical binary path when resolvable; otherwise the original path.
Trait Implementations§
Source§impl Clone for CapabilityCacheKey
impl Clone for CapabilityCacheKey
Source§fn clone(&self) -> CapabilityCacheKey
fn clone(&self) -> CapabilityCacheKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CapabilityCacheKey
impl Debug for CapabilityCacheKey
Source§impl<'de> Deserialize<'de> for CapabilityCacheKey
impl<'de> Deserialize<'de> for CapabilityCacheKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CapabilityCacheKey
impl Hash for CapabilityCacheKey
Source§impl PartialEq for CapabilityCacheKey
impl PartialEq for CapabilityCacheKey
Source§fn eq(&self, other: &CapabilityCacheKey) -> bool
fn eq(&self, other: &CapabilityCacheKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapabilityCacheKey
impl Serialize for CapabilityCacheKey
impl Eq for CapabilityCacheKey
impl StructuralPartialEq for CapabilityCacheKey
Auto Trait Implementations§
impl Freeze for CapabilityCacheKey
impl RefUnwindSafe for CapabilityCacheKey
impl Send for CapabilityCacheKey
impl Sync for CapabilityCacheKey
impl Unpin for CapabilityCacheKey
impl UnsafeUnpin for CapabilityCacheKey
impl UnwindSafe for CapabilityCacheKey
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§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.