Enum git_wrapper::RefSearchError
source · [−]pub enum RefSearchError {
Failure(String),
IOError(Error),
NotFound(String),
ParsingFailure(String),
}
Expand description
Failed to find reference on remote
Variants
Failure(String)
Thrown when git-ls-remote(1)
fails to execute.
IOError(Error)
Generic IO error
NotFound(String)
Failed to find reference
ParsingFailure(String)
git-ls-remote(1)
returned garbage on STDOUT
Trait Implementations
sourceimpl Debug for RefSearchError
impl Debug for RefSearchError
sourceimpl Display for RefSearchError
impl Display for RefSearchError
sourceimpl Error for RefSearchError
impl Error for RefSearchError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for RefSearchError
impl From<Error> for RefSearchError
sourceimpl From<RefSearchError> for PosixError
impl From<RefSearchError> for PosixError
sourcefn from(err: RefSearchError) -> Self
fn from(err: RefSearchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RefSearchError
impl Send for RefSearchError
impl Sync for RefSearchError
impl Unpin for RefSearchError
impl !UnwindSafe for RefSearchError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more