Struct openraft_memstore::MemStoreSnapshot
source · pub struct MemStoreSnapshot {
pub meta: SnapshotMeta<MemNodeId, ()>,
pub data: Vec<u8>,
}
Expand description
The application snapshot type which the MemStore
works with.
Fields§
§meta: SnapshotMeta<MemNodeId, ()>
§data: Vec<u8>
The data of the state machine at the time of this snapshot.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemStoreSnapshot
impl RefUnwindSafe for MemStoreSnapshot
impl Send for MemStoreSnapshot
impl Sync for MemStoreSnapshot
impl Unpin for MemStoreSnapshot
impl UnwindSafe for MemStoreSnapshot
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