meta_
srv
0.14.0
Check
Leader
Required Methods
check
Implementations on Foreign Types
RwLock<State>
Implementors
In meta_
srv::
service::
store::
cached_
kv
meta_srv
::
service
::
store
::
cached_kv
Trait
CheckLeader
Copy item path
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
§
Source
§
impl
CheckLeader
for
AlwaysLeader