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