Enum openraft::versioned::UpdateError
source · pub enum UpdateError {
CanNotUpdateInPlace,
}
Variants§
CanNotUpdateInPlace
Trait Implementations§
source§impl Clone for UpdateError
impl Clone for UpdateError
source§fn clone(&self) -> UpdateError
fn clone(&self) -> UpdateError
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 UpdateError
impl Debug for UpdateError
source§impl Display for UpdateError
impl Display for UpdateError
source§impl Error for UpdateError
impl Error for UpdateError
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<UpdateError> for UpdateError
impl PartialEq<UpdateError> for UpdateError
source§fn eq(&self, other: &UpdateError) -> bool
fn eq(&self, other: &UpdateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UpdateError
impl StructuralEq for UpdateError
impl StructuralPartialEq for UpdateError
Auto Trait Implementations§
impl RefUnwindSafe for UpdateError
impl Send for UpdateError
impl Sync for UpdateError
impl Unpin for UpdateError
impl UnwindSafe for UpdateError
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.