pub enum GitProviderError {
Open(String),
Walk(String),
InvalidOid(String),
NotFound(String),
LockPoisoned,
}Expand description
Errors from git log provider operations.
Variants§
Open(String)
Failed to open the git repository.
Walk(String)
Failed to walk the commit history.
InvalidOid(String)
An object ID could not be parsed.
NotFound(String)
The requested commit was not found.
LockPoisoned
The repository lock was poisoned by a panicking thread.
Trait Implementations§
Source§impl Debug for GitProviderError
impl Debug for GitProviderError
Source§impl Display for GitProviderError
impl Display for GitProviderError
Source§impl Error for GitProviderError
impl Error for GitProviderError
1.30.0 · 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<GitProviderError> for AuditError
impl From<GitProviderError> for AuditError
Source§fn from(source: GitProviderError) -> Self
fn from(source: GitProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitProviderError
impl RefUnwindSafe for GitProviderError
impl Send for GitProviderError
impl Sync for GitProviderError
impl Unpin for GitProviderError
impl UnsafeUnpin for GitProviderError
impl UnwindSafe for GitProviderError
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