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

Fields

subtransport: *mut git_smart_subtransportread: Option<extern "C" fn(_: *mut git_smart_subtransport_stream, _: *mut c_char, _: size_t, _: *mut size_t) -> c_int>write: Option<extern "C" fn(_: *mut git_smart_subtransport_stream, _: *const c_char, _: size_t) -> c_int>free: Option<extern "C" fn(_: *mut git_smart_subtransport_stream)>

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.