Enum jj_cli::merge_tools::ConflictResolveError
source · pub enum ConflictResolveError {
InternalTool(Box<BuiltinToolError>),
ExternalTool(ExternalToolError),
PathNotFound(RepoPath),
NotAConflict(RepoPath),
NotNormalFiles(RepoPath, String),
ConflictTooComplicated {
path: RepoPath,
sides: usize,
},
EmptyOrUnchanged,
Backend(BackendError),
}Variants§
InternalTool(Box<BuiltinToolError>)
ExternalTool(ExternalToolError)
PathNotFound(RepoPath)
NotAConflict(RepoPath)
NotNormalFiles(RepoPath, String)
ConflictTooComplicated
EmptyOrUnchanged
Backend(BackendError)
Trait Implementations§
source§impl Debug for ConflictResolveError
impl Debug for ConflictResolveError
source§impl Display for ConflictResolveError
impl Display for ConflictResolveError
source§impl Error for ConflictResolveError
impl Error for ConflictResolveError
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 ConflictResolveError
impl From<BackendError> for ConflictResolveError
source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
source§impl From<Box<BuiltinToolError>> for ConflictResolveError
impl From<Box<BuiltinToolError>> for ConflictResolveError
source§impl From<ConflictResolveError> for CommandError
impl From<ConflictResolveError> for CommandError
source§fn from(err: ConflictResolveError) -> Self
fn from(err: ConflictResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConflictResolveError
impl Send for ConflictResolveError
impl Sync for ConflictResolveError
impl Unpin for ConflictResolveError
impl !UnwindSafe for ConflictResolveError
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