Enum git_wrapper::RefSearchError
source · [−]pub enum RefSearchError {
Failure(String),
IOError(Error),
NotFound,
ParsingFailure(String),
UTF8Decode(FromUtf8Error),
}
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
Failed to find reference
ParsingFailure(String)
git-ls-remote(1)
returned garbage on STDOUT
UTF8Decode(FromUtf8Error)
Failed to decode strings
Trait Implementations
sourceimpl Debug for RefSearchError
impl Debug for RefSearchError
sourceimpl From<FromUtf8Error> for RefSearchError
impl From<FromUtf8Error> for RefSearchError
sourcefn from(prev: FromUtf8Error) -> Self
fn from(prev: FromUtf8Error) -> Self
Performs the conversion.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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