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