pub struct FileRecord {
pub path: PathBuf,
pub hash: Option<u64>,
}Expand description
A file that was read or written during a pass, with a content hash.
Fields§
§path: PathBufThe path as opened.
hash: Option<u64>FNV-1a hash of the content, or None if the file did not exist.
Trait Implementations§
Source§impl Clone for FileRecord
impl Clone for FileRecord
Source§impl Debug for FileRecord
impl Debug for FileRecord
impl Eq for FileRecord
Source§impl PartialEq for FileRecord
impl PartialEq for FileRecord
impl StructuralPartialEq for FileRecord
Auto Trait Implementations§
impl Freeze for FileRecord
impl RefUnwindSafe for FileRecord
impl Send for FileRecord
impl Sync for FileRecord
impl Unpin for FileRecord
impl UnsafeUnpin for FileRecord
impl UnwindSafe for FileRecord
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