Struct libgit2_sys::git_refdb_backend [−][src]
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
impl RefUnwindSafe for git_refdb_backend
impl Send for git_refdb_backend
impl Sync for git_refdb_backend
impl Unpin for git_refdb_backend
impl UnwindSafe for git_refdb_backend
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,