[][src]Enum git2::ErrorClass

pub enum ErrorClass {
    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,
}

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

Trait Implementations

impl Clone for ErrorClass
[src]

Performs copy-assignment from source. Read more

impl Copy for ErrorClass
[src]

impl Eq for ErrorClass
[src]

impl PartialEq<ErrorClass> for ErrorClass
[src]

This method tests for !=.

impl Debug for ErrorClass
[src]

Auto Trait Implementations

impl Send for ErrorClass

impl Sync for ErrorClass

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]