Struct openraft::error::CommittedAdvanceTooMany
source · pub struct CommittedAdvanceTooMany {
pub committed_index: u64,
pub target_index: u64,
}
Fields§
§committed_index: u64
§target_index: u64
Trait Implementations§
source§impl Clone for CommittedAdvanceTooMany
impl Clone for CommittedAdvanceTooMany
source§fn clone(&self) -> CommittedAdvanceTooMany
fn clone(&self) -> CommittedAdvanceTooMany
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommittedAdvanceTooMany
impl Debug for CommittedAdvanceTooMany
source§impl Display for CommittedAdvanceTooMany
impl Display for CommittedAdvanceTooMany
source§impl Error for CommittedAdvanceTooMany
impl Error for CommittedAdvanceTooMany
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<CommittedAdvanceTooMany> for CommittedAdvanceTooMany
impl PartialEq<CommittedAdvanceTooMany> for CommittedAdvanceTooMany
source§fn eq(&self, other: &CommittedAdvanceTooMany) -> bool
fn eq(&self, other: &CommittedAdvanceTooMany) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommittedAdvanceTooMany
impl StructuralEq for CommittedAdvanceTooMany
impl StructuralPartialEq for CommittedAdvanceTooMany
Auto Trait Implementations§
impl RefUnwindSafe for CommittedAdvanceTooMany
impl Send for CommittedAdvanceTooMany
impl Sync for CommittedAdvanceTooMany
impl Unpin for CommittedAdvanceTooMany
impl UnwindSafe for CommittedAdvanceTooMany
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.