#[repr(C)]
pub struct git_smart_subtransport { pub action: Option<extern "C" fn(_: *mut *mut git_smart_subtransport_stream, _: *mut git_smart_subtransport, _: *const c_char, _: git_smart_service_t) -> c_int>, pub close: Option<extern "C" fn(_: *mut git_smart_subtransport) -> c_int>, pub free: Option<extern "C" fn(_: *mut git_smart_subtransport)>, }

Fields§

§action: Option<extern "C" fn(_: *mut *mut git_smart_subtransport_stream, _: *mut git_smart_subtransport, _: *const c_char, _: git_smart_service_t) -> c_int>§close: Option<extern "C" fn(_: *mut git_smart_subtransport) -> c_int>§free: Option<extern "C" fn(_: *mut git_smart_subtransport)>

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.