#[repr(C)]
pub struct git_remote_callbacks {
Show 15 fields 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 remote_ready: git_remote_ready_cb, pub payload: *mut c_void, pub resolve_url: git_url_resolve_cb,
}

Fields§

§version: c_uint§sideband_progress: git_transport_message_cb§completion: Option<extern "C" fn(_: git_remote_completion_type, _: *mut c_void) -> c_int>§credentials: git_cred_acquire_cb§certificate_check: git_transport_certificate_check_cb§transfer_progress: git_indexer_progress_cb§update_tips: Option<extern "C" fn(_: *const c_char, _: *const git_oid, _: *const git_oid, _: *mut c_void) -> c_int>§pack_progress: git_packbuilder_progress§push_transfer_progress: git_push_transfer_progress§push_update_reference: git_push_update_reference_cb§push_negotiation: git_push_negotiation§transport: git_transport_cb§remote_ready: git_remote_ready_cb§payload: *mut c_void§resolve_url: git_url_resolve_cb

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.