pub struct ManifestGraphCache { /* private fields */ }Implementations§
Source§impl ManifestGraphCache
impl ManifestGraphCache
pub fn disabled() -> Self
pub fn load(project_dir: &Path, cache_dir: Option<&Path>) -> Self
pub fn fresh(project_dir: &Path, cache_dir: Option<&Path>) -> Self
pub fn get(&self, manifest_path: &Path) -> Option<&LineageGraph>
pub fn insert_if_fingerprint_matches( &mut self, manifest_path: &Path, graph: &LineageGraph, expected: (u64, u32, u64, u64), ) -> bool
pub fn save(&self)
Auto Trait Implementations§
impl Freeze for ManifestGraphCache
impl RefUnwindSafe for ManifestGraphCache
impl Send for ManifestGraphCache
impl Sync for ManifestGraphCache
impl Unpin for ManifestGraphCache
impl UnsafeUnpin for ManifestGraphCache
impl UnwindSafe for ManifestGraphCache
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more