pub struct ValidatedFileDigest {
pub resolution: FileDigestResolution,
pub identity: FileIdentity,
pub cache_identity: Option<FileIdentity>,
pub racy: bool,
}Expand description
A file digest tied to the file object and pathname observed while reading.
Fields§
§resolution: FileDigestResolutionScope-specific outcome of reading the file.
identity: FileIdentityIdentity of the pathname after the validated read.
cache_identity: Option<FileIdentity>Identity suitable for reuse in the digest ledger, when available.
racy: boolThe file was written too recently for its digest to be reused, so
cache_identity was withheld. The digest is right for this read only.
Trait Implementations§
Source§impl Clone for ValidatedFileDigest
impl Clone for ValidatedFileDigest
Source§impl Debug for ValidatedFileDigest
impl Debug for ValidatedFileDigest
impl Eq for ValidatedFileDigest
Source§impl PartialEq for ValidatedFileDigest
impl PartialEq for ValidatedFileDigest
impl StructuralPartialEq for ValidatedFileDigest
Auto Trait Implementations§
impl Freeze for ValidatedFileDigest
impl RefUnwindSafe for ValidatedFileDigest
impl Send for ValidatedFileDigest
impl Sync for ValidatedFileDigest
impl Unpin for ValidatedFileDigest
impl UnsafeUnpin for ValidatedFileDigest
impl UnwindSafe for ValidatedFileDigest
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