pub struct LoadedSnapshot {
pub path: PathBuf,
pub timestamp_ms: u64,
pub entries: Vec<StoredEntry>,
}Fields§
§path: PathBufPath of the snapshot file that was loaded.
timestamp_ms: u64Snapshot timestamp captured when the file was written.
entries: Vec<StoredEntry>Live cache entries encoded in the snapshot.
Trait Implementations§
Source§impl Clone for LoadedSnapshot
impl Clone for LoadedSnapshot
Source§fn clone(&self) -> LoadedSnapshot
fn clone(&self) -> LoadedSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoadedSnapshot
impl RefUnwindSafe for LoadedSnapshot
impl Send for LoadedSnapshot
impl Sync for LoadedSnapshot
impl Unpin for LoadedSnapshot
impl UnsafeUnpin for LoadedSnapshot
impl UnwindSafe for LoadedSnapshot
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