pub enum GitStorageError {
NotARepo(PathBuf),
Gix(Box<dyn Error + Send + Sync>),
NotFound(String),
ShadowNotFound(String),
Io(Error),
Json(Error),
Other(String),
}Variants§
NotARepo(PathBuf)
Gix(Box<dyn Error + Send + Sync>)
NotFound(String)
ShadowNotFound(String)
Io(Error)
Json(Error)
Other(String)
Trait Implementations§
Source§impl Debug for GitStorageError
impl Debug for GitStorageError
Source§impl Display for GitStorageError
impl Display for GitStorageError
Source§impl Error for GitStorageError
impl Error for GitStorageError
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 GitStorageError
impl From<Error> for GitStorageError
Auto Trait Implementations§
impl Freeze for GitStorageError
impl !RefUnwindSafe for GitStorageError
impl Send for GitStorageError
impl Sync for GitStorageError
impl Unpin for GitStorageError
impl !UnwindSafe for GitStorageError
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