pub trait ErrorExt {
// Required method
fn is_not_found(&self) -> bool;
}Expand description
An extension trait for git2::Error to more conveniently handle
errors with the code git2::ErrorCode::NotFound.
Required Methods§
Sourcefn is_not_found(&self) -> bool
fn is_not_found(&self) -> bool
Returns true if the error associated with this error is git2::ErrorCode::NotFound.