pub enum WorktreeConversionError {
RepoError(Error),
Changes(RepoChanges),
Ignored,
RenameError(String),
Path(Error),
OpenDirectoryError(Error),
RemoveError {
path: Utf8PathBuf,
error: Error,
},
ReadDirectoryError(Error),
}Variants§
RepoError(Error)
Changes(RepoChanges)
Ignored
RenameError(String)
Path(Error)
OpenDirectoryError(Error)
RemoveError
ReadDirectoryError(Error)
Trait Implementations§
Source§impl Debug for WorktreeConversionError
impl Debug for WorktreeConversionError
Source§impl Display for WorktreeConversionError
impl Display for WorktreeConversionError
Source§impl Error for WorktreeConversionError
impl Error for WorktreeConversionError
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<Error> for WorktreeConversionError
impl From<Error> for WorktreeConversionError
Auto Trait Implementations§
impl !RefUnwindSafe for WorktreeConversionError
impl !UnwindSafe for WorktreeConversionError
impl Freeze for WorktreeConversionError
impl Send for WorktreeConversionError
impl Sync for WorktreeConversionError
impl Unpin for WorktreeConversionError
impl UnsafeUnpin for WorktreeConversionError
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