Struct openraft_rocksstore::RocksStore
source · pub struct RocksStore {
pub state_machine: RwLock<RocksStateMachine>,
/* private fields */
}
Fields§
§state_machine: RwLock<RocksStateMachine>
The Raft state machine.
Implementations§
source§impl RocksStore
impl RocksStore
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RocksStore
impl !RefUnwindSafe for RocksStore
impl Send for RocksStore
impl Sync for RocksStore
impl Unpin for RocksStore
impl UnwindSafe for RocksStore
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