meta_srv::service::store::cached_kv

Trait CheckLeader

Source
pub trait CheckLeader: Sync + Send {
    // Required method
    fn check(&self) -> bool;
}

Required Methods§

Source

fn check(&self) -> bool

Implementations on Foreign Types§

Source§

impl CheckLeader for RwLock<State>

Source§

fn check(&self) -> bool

Implementors§