Enum openraft::error::InstallSnapshotError
source · pub enum InstallSnapshotError {
SnapshotMismatch(SnapshotMismatch),
}
Variants§
SnapshotMismatch(SnapshotMismatch)
Trait Implementations§
source§impl Clone for InstallSnapshotError
impl Clone for InstallSnapshotError
source§fn clone(&self) -> InstallSnapshotError
fn clone(&self) -> InstallSnapshotError
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 InstallSnapshotError
impl Debug for InstallSnapshotError
source§impl<'de> Deserialize<'de> for InstallSnapshotError
impl<'de> Deserialize<'de> for InstallSnapshotError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for InstallSnapshotError
impl Display for InstallSnapshotError
source§impl Error for InstallSnapshotError
impl Error for InstallSnapshotError
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 From<SnapshotMismatch> for InstallSnapshotError
impl From<SnapshotMismatch> for InstallSnapshotError
source§fn from(source: SnapshotMismatch) -> Self
fn from(source: SnapshotMismatch) -> Self
Converts to this type from the input type.
source§impl PartialEq for InstallSnapshotError
impl PartialEq for InstallSnapshotError
source§fn eq(&self, other: &InstallSnapshotError) -> bool
fn eq(&self, other: &InstallSnapshotError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InstallSnapshotError
impl Serialize for InstallSnapshotError
impl Eq for InstallSnapshotError
impl StructuralPartialEq for InstallSnapshotError
Auto Trait Implementations§
impl Freeze for InstallSnapshotError
impl RefUnwindSafe for InstallSnapshotError
impl Send for InstallSnapshotError
impl Sync for InstallSnapshotError
impl Unpin for InstallSnapshotError
impl UnwindSafe for InstallSnapshotError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more