#[repr(C)]pub struct switch_stream_handle {
pub read_function: switch_stream_handle_read_function_t,
pub write_function: switch_stream_handle_write_function_t,
pub raw_write_function: switch_stream_handle_raw_write_function_t,
pub data: *mut c_void,
pub end: *mut c_void,
pub data_size: switch_size_t,
pub data_len: switch_size_t,
pub alloc_len: switch_size_t,
pub alloc_chunk: switch_size_t,
pub param_event: *mut switch_event_t,
}Fields§
§read_function: switch_stream_handle_read_function_t§write_function: switch_stream_handle_write_function_t§raw_write_function: switch_stream_handle_raw_write_function_t§data: *mut c_void§end: *mut c_void§data_size: switch_size_t§data_len: switch_size_t§alloc_len: switch_size_t§alloc_chunk: switch_size_t§param_event: *mut switch_event_tTrait Implementations§
Source§impl Clone for switch_stream_handle
impl Clone for switch_stream_handle
Source§fn clone(&self) -> switch_stream_handle
fn clone(&self) -> switch_stream_handle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_stream_handle
impl Debug for switch_stream_handle
impl Copy for switch_stream_handle
Auto Trait Implementations§
impl Freeze for switch_stream_handle
impl RefUnwindSafe for switch_stream_handle
impl !Send for switch_stream_handle
impl !Sync for switch_stream_handle
impl Unpin for switch_stream_handle
impl UnwindSafe for switch_stream_handle
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