#[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_subtransport
§read: 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§
impl RefUnwindSafe for git_smart_subtransport_stream
impl !Send for git_smart_subtransport_stream
impl !Sync for git_smart_subtransport_stream
impl Unpin for git_smart_subtransport_stream
impl UnwindSafe for git_smart_subtransport_stream
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more