Struct openraft_memstore::MemStoreSnapshot
source · [−]pub struct MemStoreSnapshot {
pub meta: SnapshotMeta,
pub data: Vec<u8>,
}
Expand description
The application snapshot type which the MemStore
works with.
Fields
meta: SnapshotMeta
data: Vec<u8>
The data of the state machine at the time of this snapshot.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemStoreSnapshot
impl Send for MemStoreSnapshot
impl Sync for MemStoreSnapshot
impl Unpin for MemStoreSnapshot
impl UnwindSafe for MemStoreSnapshot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more