[][src]Struct libgit2_sys::git_odb_backend

#[repr(C)]
pub struct git_odb_backend { pub version: c_uint, pub odb: *mut git_odb, pub read: extern "C" fn(_: *mut *mut c_void, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int, pub read_prefix: extern "C" fn(_: *mut git_oid, _: *mut *mut c_void, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid, _: size_t) -> c_int, pub read_header: extern "C" fn(_: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int, pub write: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid, _: *const c_void, _: size_t, _: git_object_t) -> c_int, pub writestream: extern "C" fn(_: *mut *mut git_odb_stream, _: *mut git_odb_backend, _: git_off_t, _: git_object_t) -> c_int, pub readstream: extern "C" fn(_: *mut *mut git_odb_stream, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int, pub exists: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_int, pub exists_prefix: extern "C" fn(_: *mut git_oid, _: *mut git_odb_backend, _: *const git_oid, _: size_t) -> c_int, pub refresh: extern "C" fn(_: *mut git_odb_backend) -> c_int, pub foreach: extern "C" fn(_: *mut git_odb_backend, _: git_odb_foreach_cb, _: *mut c_void) -> c_int, pub writepack: extern "C" fn(_: *mut *mut git_odb_writepack, _: *mut git_odb_backend, _: *mut git_odb, _: git_transfer_progress_cb, _: *mut c_void) -> c_int, pub freshen: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_int, pub free: extern "C" fn(_: *mut git_odb_backend), }

Fields

version: c_uintodb: *mut git_odbread: extern "C" fn(_: *mut *mut c_void, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_intread_prefix: extern "C" fn(_: *mut git_oid, _: *mut *mut c_void, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid, _: size_t) -> c_intread_header: extern "C" fn(_: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_intwrite: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid, _: *const c_void, _: size_t, _: git_object_t) -> c_intwritestream: extern "C" fn(_: *mut *mut git_odb_stream, _: *mut git_odb_backend, _: git_off_t, _: git_object_t) -> c_intreadstream: extern "C" fn(_: *mut *mut git_odb_stream, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_intexists: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_intexists_prefix: extern "C" fn(_: *mut git_oid, _: *mut git_odb_backend, _: *const git_oid, _: size_t) -> c_intrefresh: extern "C" fn(_: *mut git_odb_backend) -> c_intforeach: extern "C" fn(_: *mut git_odb_backend, _: git_odb_foreach_cb, _: *mut c_void) -> c_intwritepack: extern "C" fn(_: *mut *mut git_odb_writepack, _: *mut git_odb_backend, _: *mut git_odb, _: git_transfer_progress_cb, _: *mut c_void) -> c_intfreshen: extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_intfree: extern "C" fn(_: *mut git_odb_backend)

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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