Enum jj_lib::repo::EditCommitError
source · pub enum EditCommitError {
WorkingCopyCommitNotFound(BackendError),
RewriteRootCommit,
}
Expand description
Error from attempts to edit a commit
Variants§
WorkingCopyCommitNotFound(BackendError)
RewriteRootCommit
Trait Implementations§
source§impl Debug for EditCommitError
impl Debug for EditCommitError
source§impl Display for EditCommitError
impl Display for EditCommitError
source§impl Error for EditCommitError
impl Error for EditCommitError
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 From<EditCommitError> for CheckOutCommitError
impl From<EditCommitError> for CheckOutCommitError
source§fn from(source: EditCommitError) -> Self
fn from(source: EditCommitError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EditCommitError
impl Send for EditCommitError
impl Sync for EditCommitError
impl Unpin for EditCommitError
impl !UnwindSafe for EditCommitError
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