[][src]Struct libgit2_sys::git_remote_callbacks

#[repr(C)]pub struct git_remote_callbacks {
    pub version: c_uint,
    pub sideband_progress: git_transport_message_cb,
    pub completion: Option<extern "C" fn(_: git_remote_completion_type, _: *mut c_void) -> c_int>,
    pub credentials: git_cred_acquire_cb,
    pub certificate_check: git_transport_certificate_check_cb,
    pub transfer_progress: git_indexer_progress_cb,
    pub update_tips: Option<extern "C" fn(_: *const c_char, _: *const git_oid, _: *const git_oid, _: *mut c_void) -> c_int>,
    pub pack_progress: git_packbuilder_progress,
    pub push_transfer_progress: git_push_transfer_progress,
    pub push_update_reference: git_push_update_reference_cb,
    pub push_negotiation: git_push_negotiation,
    pub transport: git_transport_cb,
    pub payload: *mut c_void,
    pub resolve_url: git_url_resolve_cb,
}

Fields

version: c_uintsideband_progress: git_transport_message_cbcompletion: Option<extern "C" fn(_: git_remote_completion_type, _: *mut c_void) -> c_int>credentials: git_cred_acquire_cbcertificate_check: git_transport_certificate_check_cbtransfer_progress: git_indexer_progress_cbupdate_tips: Option<extern "C" fn(_: *const c_char, _: *const git_oid, _: *const git_oid, _: *mut c_void) -> c_int>pack_progress: git_packbuilder_progresspush_transfer_progress: git_push_transfer_progresspush_update_reference: git_push_update_reference_cbpush_negotiation: git_push_negotiationtransport: git_transport_cbpayload: *mut c_voidresolve_url: git_url_resolve_cb

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.