Trait raftstore::coprocessor::AdminObserver [−][src]
Provided methods
fn pre_propose_admin(
&self,
_: &mut ObserverContext<'_>,
_: &mut AdminRequest
) -> Result<()>
[src]
&self,
_: &mut ObserverContext<'_>,
_: &mut AdminRequest
) -> Result<()>
Hook to call before proposing admin request.
fn pre_apply_admin(&self, _: &mut ObserverContext<'_>, _: &AdminRequest)
[src]
Hook to call before applying admin request.
fn post_apply_admin(&self, _: &mut ObserverContext<'_>, _: &mut AdminResponse)
[src]
Hook to call after applying admin request.
Implementors
impl AdminObserver for SplitObserver
[src]
fn pre_propose_admin(
&self,
ctx: &mut ObserverContext<'_>,
req: &mut AdminRequest
) -> CopResult<()>
[src]
&self,
ctx: &mut ObserverContext<'_>,
req: &mut AdminRequest
) -> CopResult<()>