pub struct SnapshotMeta {
pub last_included_index: LogIndex,
pub last_included_term: Term,
pub config: ClusterConfig,
}Expand description
The identity of a snapshot: the last log entry it covers and the configuration in force at that entry.
Fields§
§last_included_index: LogIndexThe highest log index included in the snapshot.
last_included_term: TermThe term of the entry at last_included_index.
config: ClusterConfigThe cluster configuration in force at last_included_index.
Trait Implementations§
Source§impl Clone for SnapshotMeta
impl Clone for SnapshotMeta
Source§impl Debug for SnapshotMeta
impl Debug for SnapshotMeta
impl Eq for SnapshotMeta
Source§impl PartialEq for SnapshotMeta
impl PartialEq for SnapshotMeta
impl StructuralPartialEq for SnapshotMeta
Auto Trait Implementations§
impl Forget for SnapshotMeta
impl Freeze for SnapshotMeta
impl Move for SnapshotMeta
impl RefUnwindSafe for SnapshotMeta
impl Send for SnapshotMeta
impl Sync for SnapshotMeta
impl Unpin for SnapshotMeta
impl UnsafeUnpin for SnapshotMeta
impl UnwindSafe for SnapshotMeta
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