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
Uncategorized
Out of memory or insufficient allocated space
Syscall or standard system library error
Invalid input
Error resolving or manipulating a reference
ZLib failure
Bad repository state
Bad configuration
Regex failure
Bad object
Invalid index data
Error creating or obtaining an object
Network error
Error manpulating a tag
Invalid value in tree
Hashing or packing error
Error from SSL
Error involing submodules
Threading error
Error manipulating a stash
Checkout failure
Invalid FETCH_HEAD
Merge failure
SSH failure
Error manipulating filters
Error reverting commit
Error from a user callback
Error cherry-picking commit
Can’t describe object
Error during rebase
Filesystem-related error
Invalid patch data
Error involving worktrees
Hash library error or SHA-1 collision
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 = T
The 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