pub enum VcsError {
Git(Error),
NoWorkdir,
Rejected(String),
Io(Error),
}Variants§
Git(Error)
NoWorkdir
Rejected(String)
Domain refusal, e.g. discarding a file with staged changes.
Io(Error)
Trait Implementations§
Source§impl Error for VcsError
impl Error for VcsError
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 !RefUnwindSafe for VcsError
impl !UnwindSafe for VcsError
impl Freeze for VcsError
impl Send for VcsError
impl Sync for VcsError
impl Unpin for VcsError
impl UnsafeUnpin for VcsError
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