#[repr(C)]
pub struct git_transport {Show 13 fields
pub version: c_uint,
pub set_callbacks: Option<extern "C" fn(_: *mut git_transport, _: git_transport_message_cb, _: git_transport_message_cb, _: git_transport_certificate_check_cb, _: *mut c_void) -> c_int>,
pub set_custom_headers: Option<extern "C" fn(_: *mut git_transport, _: *const git_strarray) -> c_int>,
pub connect: Option<extern "C" fn(_: *mut git_transport, _: *const c_char, _: git_cred_acquire_cb, _: *mut c_void, _: *const git_proxy_options, _: c_int, _: c_int) -> c_int>,
pub ls: Option<extern "C" fn(_: *mut *mut *const git_remote_head, _: *mut size_t, _: *mut git_transport) -> c_int>,
pub push: Option<extern "C" fn(_: *mut git_transport, _: *mut git_push, _: *const git_remote_callbacks) -> c_int>,
pub negotiate_fetch: Option<extern "C" fn(_: *mut git_transport, _: *mut git_repository, _: *const *const git_remote_head, _: size_t) -> c_int>,
pub download_pack: Option<extern "C" fn(_: *mut git_transport, _: *mut git_repository, _: *mut git_transfer_progress, _: git_transfer_progress_cb, _: *mut c_void) -> c_int>,
pub is_connected: Option<extern "C" fn(_: *mut git_transport) -> c_int>,
pub read_flags: Option<extern "C" fn(_: *mut git_transport, _: *mut c_int) -> c_int>,
pub cancel: Option<extern "C" fn(_: *mut git_transport)>,
pub close: Option<extern "C" fn(_: *mut git_transport) -> c_int>,
pub free: Option<extern "C" fn(_: *mut git_transport)>,
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.