Enum git2::ErrorCode [−][src]
An enumeration of possible errors that can happen when working with a git repository.
Variants
Generic error
Requested object could not be found
Object exists preventing operation
More than one object matches
Output buffer too short to hold data
User-generated error
Operation not allowed on bare repository
HEAD refers to branch with no commits
Merge in progress prevented operation
Reference was not fast-forwardable
Name/ref spec was not in a valid format
Checkout conflicts prevented operation
Lock file prevented operation
Reference value does not match expected
Authentication error
Server certificate is invalid
Patch/merge has already been applied
The requested peel operation is not possible
Unexpected EOF
Invalid operation or input
Uncommitted changes in index prevented operation
Operation was not valid for a directory,
Trait Implementations
impl Clone for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src]
impl Eq for ErrorCode
[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
fn eq(&self, other: &ErrorCode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,