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

Fields

subtransport: *mut git_smart_subtransportread: extern "C" fn(_: *mut git_smart_subtransport_stream, _: *mut c_char, _: size_t, _: *mut size_t) -> c_intwrite: extern "C" fn(_: *mut git_smart_subtransport_stream, _: *const c_char, _: size_t) -> c_intfree: 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.