pub enum GitBackendError {
GitCommand {
command: String,
stderr: String,
exit_code: Option<i32>,
},
Io(Error),
NotFound {
name: String,
},
NotImplemented(&'static str),
}Expand description
Errors from the git worktree backend.
Variants§
GitCommand
A git command failed.
Io(Error)
An I/O error occurred.
NotFound
Workspace not found.
NotImplemented(&'static str)
Feature not yet implemented.
Trait Implementations§
Source§impl Debug for GitBackendError
impl Debug for GitBackendError
Source§impl Display for GitBackendError
impl Display for GitBackendError
Source§impl Error for GitBackendError
impl Error for GitBackendError
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()
Auto Trait Implementations§
impl Freeze for GitBackendError
impl !RefUnwindSafe for GitBackendError
impl Send for GitBackendError
impl Sync for GitBackendError
impl Unpin for GitBackendError
impl UnsafeUnpin for GitBackendError
impl !UnwindSafe for GitBackendError
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