pub struct PersistentCacheEntry {
pub type_name: String,
pub deps: Option<String>,
pub method_name: Option<String>,
pub ra_version: String,
pub lib_version: String,
pub dir: PathBuf,
}Expand description
Public view of a single persistent cache entry.
Fields§
§type_name: StringThe Rust type that was probed.
deps: Option<String>The effective TOML dependency string, if any.
method_name: Option<String>None for completion probes; Some(method_name) for definition probes.
ra_version: StringThe rust-analyzer version this entry was created with.
lib_version: StringThe rust-meth-lib version this entry was created with.
dir: PathBufAbsolute path to the cached probe directory on disk.
Trait Implementations§
Source§impl Clone for PersistentCacheEntry
impl Clone for PersistentCacheEntry
Auto Trait Implementations§
impl Freeze for PersistentCacheEntry
impl RefUnwindSafe for PersistentCacheEntry
impl Send for PersistentCacheEntry
impl Sync for PersistentCacheEntry
impl Unpin for PersistentCacheEntry
impl UnsafeUnpin for PersistentCacheEntry
impl UnwindSafe for PersistentCacheEntry
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