pub enum RevertError {
Commit(CommitError),
Store(StoreError),
MergeCommit(String, usize),
NoParent(String),
}Expand description
Errors from revert operations.
Variants§
Trait Implementations§
Source§impl Debug for RevertError
impl Debug for RevertError
Source§impl Display for RevertError
impl Display for RevertError
Source§impl Error for RevertError
impl Error for RevertError
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 From<CommitError> for RevertError
impl From<CommitError> for RevertError
Source§fn from(source: CommitError) -> Self
fn from(source: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for RevertError
impl From<StoreError> for RevertError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RevertError
impl !RefUnwindSafe for RevertError
impl Send for RevertError
impl Sync for RevertError
impl Unpin for RevertError
impl UnsafeUnpin for RevertError
impl !UnwindSafe for RevertError
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