Enum git2::ErrorClass [−][src]
pub enum ErrorClass {
Show variants
None,
NoMemory,
Os,
Invalid,
Reference,
Zlib,
Repository,
Config,
Regex,
Odb,
Index,
Object,
Net,
Tag,
Tree,
Indexer,
Ssl,
Submodule,
Thread,
Stash,
Checkout,
FetchHead,
Merge,
Ssh,
Filter,
Revert,
Callback,
CherryPick,
Describe,
Rebase,
Filesystem,
Patch,
Worktree,
Sha1,
Http,
}Expand description
An enumeration of possible categories of things that can have errors when working with a git repository.
Variants
Expand description
Uncategorized
Expand description
Out of memory or insufficient allocated space
Expand description
Syscall or standard system library error
Expand description
Invalid input
Expand description
Error resolving or manipulating a reference
Expand description
ZLib failure
Expand description
Bad repository state
Expand description
Bad configuration
Expand description
Regex failure
Expand description
Bad object
Expand description
Invalid index data
Expand description
Error creating or obtaining an object
Expand description
Network error
Expand description
Error manpulating a tag
Expand description
Invalid value in tree
Expand description
Hashing or packing error
Expand description
Error from SSL
Expand description
Error involing submodules
Expand description
Threading error
Expand description
Error manipulating a stash
Expand description
Checkout failure
Expand description
Invalid FETCH_HEAD
Expand description
Merge failure
Expand description
SSH failure
Expand description
Error manipulating filters
Expand description
Error reverting commit
Expand description
Error from a user callback
Expand description
Error cherry-picking commit
Expand description
Can’t describe object
Expand description
Error during rebase
Expand description
Filesystem-related error
Expand description
Invalid patch data
Expand description
Error involving worktrees
Expand description
Hash library error or SHA-1 collision
Expand description
HTTP error
Trait Implementations
impl Clone for ErrorClass[src]
impl Clone for ErrorClass[src]fn clone(&self) -> ErrorClass[src]
fn clone(&self) -> ErrorClass[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ErrorClass[src]
impl Debug for ErrorClass[src]impl PartialEq<ErrorClass> for ErrorClass[src]
impl PartialEq<ErrorClass> for ErrorClass[src]impl Copy for ErrorClass[src]
impl Eq for ErrorClass[src]
impl StructuralEq for ErrorClass[src]
impl StructuralPartialEq for ErrorClass[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorClass
impl Send for ErrorClass
impl Sync for ErrorClass
impl Unpin for ErrorClass
impl UnwindSafe for ErrorClass
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more