pub struct NoFileDigestCache;Expand description
A FileDigestCache that remembers nothing and finds nothing.
Trait Implementations§
Source§impl FileDigestCache for NoFileDigestCache
impl FileDigestCache for NoFileDigestCache
Source§fn find(
&self,
_scope: FileDigestScope,
files: &[FileIdentity],
) -> Vec<Option<CacheDigest>>
fn find( &self, _scope: FileDigestScope, files: &[FileIdentity], ) -> Vec<Option<CacheDigest>>
Recorded digests for these identities, in request order.
Source§fn record(&self, _scope: FileDigestScope, _entries: Vec<RecordedFileDigest>)
fn record(&self, _scope: FileDigestScope, _entries: Vec<RecordedFileDigest>)
Record digests for files read under these identities.
Auto Trait Implementations§
impl Freeze for NoFileDigestCache
impl RefUnwindSafe for NoFileDigestCache
impl Send for NoFileDigestCache
impl Sync for NoFileDigestCache
impl Unpin for NoFileDigestCache
impl UnsafeUnpin for NoFileDigestCache
impl UnwindSafe for NoFileDigestCache
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