Trait raftstore::coprocessor::consistency_check::ConsistencyCheckObserver [−][src]
Required methods
fn update_context(&self, context: &mut Vec<u8>) -> bool
[src]
Update context. Return true
if later observers should be skiped.
fn compute_hash(
&self,
region: &Region,
context: &mut &[u8],
snap: &E::Snapshot
) -> Result<Option<u32>>
[src]
&self,
region: &Region,
context: &mut &[u8],
snap: &E::Snapshot
) -> Result<Option<u32>>
Compute hash for region
. The policy is extracted from context
.