pub struct FileStamp { /* private fields */ }Expand description
The identity of one entry file on disk: device, inode, length and modification time.
Entries are only ever created by renaming a fresh temporary file into place, so a different entry at the same path has a different inode. An in-place rewrite changes the modification time. The in-memory tier serves a reply only while its file still has the stamp it had when the reply was read from it or written to it.
Implementations§
Trait Implementations§
impl Copy for FileStamp
impl Eq for FileStamp
impl StructuralPartialEq for FileStamp
Auto Trait Implementations§
impl Forget for FileStamp
impl Freeze for FileStamp
impl Move for FileStamp
impl RefUnwindSafe for FileStamp
impl Send for FileStamp
impl Sync for FileStamp
impl Unpin for FileStamp
impl UnsafeUnpin for FileStamp
impl UnwindSafe for FileStamp
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