#[repr(C)]
pub struct git_refdb_backend {
Show 17 fields pub version: c_uint, pub exists: Option<extern "C" fn(_: *mut c_int, _: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub lookup: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub iterator: Option<extern "C" fn(_: *mut *mut git_reference_iterator, _: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const git_reference, _: c_int, _: *const git_signature, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>, pub rename: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char, _: *const c_char, _: c_int, _: *const git_signature, _: *const c_char) -> c_int>, pub del: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>, pub compress: Option<extern "C" fn(_: *mut git_refdb_backend) -> c_int>, pub has_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub ensure_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub free: Option<extern "C" fn(_: *mut git_refdb_backend)>, pub reflog_read: Option<extern "C" fn(_: *mut *mut git_reflog, _: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub reflog_write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut git_reflog) -> c_int>, pub reflog_rename: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const c_char) -> c_int>, pub reflog_delete: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub lock: Option<extern "C" fn(_: *mut *mut c_void, _: *mut git_refdb_backend, _: *const c_char) -> c_int>, pub unlock: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut c_void, _: c_int, _: c_int, _: *const git_reference, _: *const git_signature, _: *const c_char) -> c_int>,
}

Fields§

§version: c_uint§exists: Option<extern "C" fn(_: *mut c_int, _: *mut git_refdb_backend, _: *const c_char) -> c_int>§lookup: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char) -> c_int>§iterator: Option<extern "C" fn(_: *mut *mut git_reference_iterator, _: *mut git_refdb_backend, _: *const c_char) -> c_int>§write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const git_reference, _: c_int, _: *const git_signature, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>§rename: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char, _: *const c_char, _: c_int, _: *const git_signature, _: *const c_char) -> c_int>§del: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>§compress: Option<extern "C" fn(_: *mut git_refdb_backend) -> c_int>§has_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>§ensure_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>§free: Option<extern "C" fn(_: *mut git_refdb_backend)>§reflog_read: Option<extern "C" fn(_: *mut *mut git_reflog, _: *mut git_refdb_backend, _: *const c_char) -> c_int>§reflog_write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut git_reflog) -> c_int>§reflog_rename: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const c_char) -> c_int>§reflog_delete: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>§lock: Option<extern "C" fn(_: *mut *mut c_void, _: *mut git_refdb_backend, _: *const c_char) -> c_int>§unlock: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut c_void, _: c_int, _: c_int, _: *const git_reference, _: *const git_signature, _: *const c_char) -> c_int>

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.