pub enum PatchApplyError {
BaseVersionMismatch {
expected: u64,
actual: u64,
},
InvalidPath(String),
Tombstoned(String),
TypeConflict {
path: String,
expected: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Debug for PatchApplyError
impl Debug for PatchApplyError
Source§impl Display for PatchApplyError
impl Display for PatchApplyError
Source§impl Error for PatchApplyError
impl Error for PatchApplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for PatchApplyError
impl PartialEq for PatchApplyError
impl StructuralPartialEq for PatchApplyError
Auto Trait Implementations§
impl Freeze for PatchApplyError
impl RefUnwindSafe for PatchApplyError
impl Send for PatchApplyError
impl Sync for PatchApplyError
impl Unpin for PatchApplyError
impl UnsafeUnpin for PatchApplyError
impl UnwindSafe for PatchApplyError
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