Enum jj_cli::merge_tools::DiffEditError
source · pub enum DiffEditError {
InternalTool(Box<BuiltinToolError>),
ExternalTool(ExternalToolError),
DiffCheckoutError(DiffCheckoutError),
Snapshot(SnapshotError),
Config(ConfigError),
}Variants§
InternalTool(Box<BuiltinToolError>)
ExternalTool(ExternalToolError)
DiffCheckoutError(DiffCheckoutError)
Snapshot(SnapshotError)
Config(ConfigError)
Trait Implementations§
source§impl Debug for DiffEditError
impl Debug for DiffEditError
source§impl Display for DiffEditError
impl Display for DiffEditError
source§impl Error for DiffEditError
impl Error for DiffEditError
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<Box<BuiltinToolError>> for DiffEditError
impl From<Box<BuiltinToolError>> for DiffEditError
source§impl From<ConfigError> for DiffEditError
impl From<ConfigError> for DiffEditError
source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
source§impl From<DiffEditError> for CommandError
impl From<DiffEditError> for CommandError
source§fn from(err: DiffEditError) -> Self
fn from(err: DiffEditError) -> Self
Converts to this type from the input type.
source§impl From<SnapshotError> for DiffEditError
impl From<SnapshotError> for DiffEditError
source§fn from(source: SnapshotError) -> Self
fn from(source: SnapshotError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DiffEditError
impl Send for DiffEditError
impl Sync for DiffEditError
impl Unpin for DiffEditError
impl !UnwindSafe for DiffEditError
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