pub fn new_snapshot_pointer(
        index: u64,
        term: u64,
        id: String,
        membership: MembershipConfig,
    ) -> Self {
        Entry {
            term,
            index,
            payload: EntryPayload::SnapshotPointer(EntrySnapshotPointer { id, membership }),
        }
    }
/// Create a new snapshot pointer from the given data.
///
/// ### index & term
/// The index and term of the entry being replaced by this snapshot pointer entry.
///
/// ### id
/// The ID of the associated snapshot.
///
/// ### membership
/// The cluster membership config which is contained in the snapshot, which will always be the
/// latest membership covered by the snapshot.
Create a new snapshot pointer from the given data.
Create a new snapshot pointer from the given data .
pub fn new_snapshot_pointer(
        index: u64,
        term: u64,
        id: String,
        membership: MembershipConfig,
    ) -> Self {
        Entry {
            term,
            index,
            payload: EntryPayload::SnapshotPointer(EntrySnapshotPointer { id, membership }),
        }
    }
pub fn new_snapshot_pointer ( index : u64 , term : u64 , id : String , membership : MembershipConfig , ) -> Self { Entry { term , index , payload : EntryPayload :: SnapshotPointer ( EntrySnapshotPointer { id , membership } ) , } }
Create a new snapshot pointer from the given data.
Create a new snapshot pointer from the given data .
index
u64
term
u64
id
String
membership
MembershipConfig
index
u64
term
u64
id
String
membership
MembershipConfig
index & term
The index and term of the entry being replaced by this snapshot pointer entry.
The index and term of the entry being replaced by this snapshot pointer entry .
id
The ID of the associated snapshot.
The ID of the associated snapshot .
membership
The cluster membership config which is contained in the snapshot, which will always be the
latest membership covered by the snapshot.
The cluster membership config which is contained in the snapshot which will always be the latest membership covered by the snapshot .