Struct openraft_rocksstore::RocksSnapshot
source · pub struct RocksSnapshot {
pub meta: SnapshotMeta<RocksNodeId, BasicNode>,
pub data: Vec<u8>,
}
Fields§
§meta: SnapshotMeta<RocksNodeId, BasicNode>
§data: Vec<u8>
The data of the state machine at the time of this snapshot.
Trait Implementations§
source§impl Debug for RocksSnapshot
impl Debug for RocksSnapshot
source§impl<'de> Deserialize<'de> for RocksSnapshot
impl<'de> Deserialize<'de> for RocksSnapshot
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more