pub enum ReviseError {
EmptyPatch,
Patch(String),
BlindPointer(String),
Unresolved(String),
NotIdentical {
path: String,
same_as: String,
},
SourceRemoved {
path: String,
same_as: String,
},
NotRemoved(String),
NotRevisable(GovernanceLogEntryType),
NonIntegerNumber(String),
}Expand description
A Revision cannot be made or applied as asked
Variants§
EmptyPatch
Patch(String)
BlindPointer(String)
Unresolved(String)
NotIdentical
SourceRemoved
NotRemoved(String)
NotRevisable(GovernanceLogEntryType)
NonIntegerNumber(String)
Trait Implementations§
Source§impl Clone for ReviseError
impl Clone for ReviseError
Source§impl Debug for ReviseError
impl Debug for ReviseError
Source§impl Display for ReviseError
impl Display for ReviseError
impl Eq for ReviseError
Source§impl Error for ReviseError
impl Error for ReviseError
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 ReviseError
impl PartialEq for ReviseError
impl StructuralPartialEq for ReviseError
Auto Trait Implementations§
impl Freeze for ReviseError
impl RefUnwindSafe for ReviseError
impl Send for ReviseError
impl Sync for ReviseError
impl Unpin for ReviseError
impl UnsafeUnpin for ReviseError
impl UnwindSafe for ReviseError
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