[−][src]Struct libgit2_sys::git_odb_backend
Fields
version: c_uint
odb: *mut git_odb
read: Option<extern "C" fn(_: *mut *mut c_void, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int>
read_prefix: Option<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>
read_header: Option<extern "C" fn(_: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int>
write: Option<extern "C" fn(_: *mut git_odb_backend, _: *const git_oid, _: *const c_void, _: size_t, _: git_object_t) -> c_int>
writestream: Option<extern "C" fn(_: *mut *mut git_odb_stream, _: *mut git_odb_backend, _: git_off_t, _: git_object_t) -> c_int>
readstream: Option<extern "C" fn(_: *mut *mut git_odb_stream, _: *mut size_t, _: *mut git_object_t, _: *mut git_odb_backend, _: *const git_oid) -> c_int>
exists: Option<extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_int>
exists_prefix: Option<extern "C" fn(_: *mut git_oid, _: *mut git_odb_backend, _: *const git_oid, _: size_t) -> c_int>
refresh: Option<extern "C" fn(_: *mut git_odb_backend) -> c_int>
foreach: Option<extern "C" fn(_: *mut git_odb_backend, _: git_odb_foreach_cb, _: *mut c_void) -> c_int>
writepack: Option<extern "C" fn(_: *mut *mut git_odb_writepack, _: *mut git_odb_backend, _: *mut git_odb, _: git_transfer_progress_cb, _: *mut c_void) -> c_int>
freshen: Option<extern "C" fn(_: *mut git_odb_backend, _: *const git_oid) -> c_int>
free: Option<extern "C" fn(_: *mut git_odb_backend)>
Auto Trait Implementations
impl !Send for git_odb_backend
impl !Sync for git_odb_backend
impl Unpin for git_odb_backend
impl UnwindSafe for git_odb_backend
impl RefUnwindSafe for git_odb_backend
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,