Trait raftstore::coprocessor::RegionChangeObserver[][src]

pub trait RegionChangeObserver: Coprocessor {
    fn on_region_changed(
        &self,
        _: &mut ObserverContext<'_>,
        _: RegionChangeEvent,
        _: StateRole
    ) { ... } }

Provided methods

fn on_region_changed(
    &self,
    _: &mut ObserverContext<'_>,
    _: RegionChangeEvent,
    _: StateRole
)
[src]

Hook to call when a region changed on this TiKV

Loading content...

Implementors

impl RegionChangeObserver for RegionEventListener[src]

Loading content...