pub enum RPCTypes {
Vote,
AppendEntries,
InstallSnapshot,
}
Variants§
Trait Implementations§
source§impl PartialEq<RPCTypes> for RPCTypes
impl PartialEq<RPCTypes> for RPCTypes
impl Eq for RPCTypes
impl StructuralEq for RPCTypes
impl StructuralPartialEq for RPCTypes
Auto Trait Implementations§
impl RefUnwindSafe for RPCTypes
impl Send for RPCTypes
impl Sync for RPCTypes
impl Unpin for RPCTypes
impl UnwindSafe for RPCTypes
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.