pub struct SnapshotInfo {
pub snapshot_type: SnapshotType,
pub ordinal: SnapshotOrdinal,
pub shard_paths: Vec<PathBuf>,
}Expand description
Information about a snapshot. Always matches the state on disk, i.e. if a snapshot has a SnapshotInfo instance the corresponding files also exist, though they may be empty.
Fields§
§snapshot_type: SnapshotType§ordinal: SnapshotOrdinal§shard_paths: Vec<PathBuf>Trait Implementations§
Source§impl Clone for SnapshotInfo
impl Clone for SnapshotInfo
Source§fn clone(&self) -> SnapshotInfo
fn clone(&self) -> SnapshotInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotInfo
impl Debug for SnapshotInfo
Source§impl PartialEq for SnapshotInfo
impl PartialEq for SnapshotInfo
impl StructuralPartialEq for SnapshotInfo
Auto Trait Implementations§
impl Freeze for SnapshotInfo
impl RefUnwindSafe for SnapshotInfo
impl Send for SnapshotInfo
impl Sync for SnapshotInfo
impl Unpin for SnapshotInfo
impl UnwindSafe for SnapshotInfo
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