Struct libgit2_sys::git_refdb_backend[][src]

#[repr(C)]
pub struct git_refdb_backend {
Show 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_uintexists: 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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.