#[repr(C)]pub struct switch_msrp_session_s {Show 27 fields
pub pool: *mut switch_memory_pool_t,
pub secure: c_int,
pub active: c_int,
pub remote_path: *mut c_char,
pub remote_accept_types: *mut c_char,
pub remote_accept_wrapped_types: *mut c_char,
pub remote_setup: *mut c_char,
pub remote_file_selector: *mut c_char,
pub local_path: *mut c_char,
pub local_accept_types: *mut c_char,
pub local_accept_wrapped_types: *mut c_char,
pub local_setup: *mut c_char,
pub local_file_selector: *mut c_char,
pub local_port: c_int,
pub call_id: *mut c_char,
pub msrp_msg: *mut switch_msrp_msg_t,
pub last_msg: *mut switch_msrp_msg_t,
pub mutex: *mut switch_mutex_t,
pub msrp_msg_buffer_size: switch_size_t,
pub msrp_msg_count: switch_size_t,
pub msock: *mut switch_msrp_socket_t,
pub csock: *mut switch_msrp_client_socket_t,
pub frame: switch_frame_t,
pub frame_data: [u8; 16384],
pub running: c_int,
pub user_data: *mut c_void,
pub send_queue: *mut switch_queue_t,
}Fields§
§pool: *mut switch_memory_pool_t§secure: c_int§active: c_int§remote_path: *mut c_char§remote_accept_types: *mut c_char§remote_accept_wrapped_types: *mut c_char§remote_setup: *mut c_char§remote_file_selector: *mut c_char§local_path: *mut c_char§local_accept_types: *mut c_char§local_accept_wrapped_types: *mut c_char§local_setup: *mut c_char§local_file_selector: *mut c_char§local_port: c_int§call_id: *mut c_char§msrp_msg: *mut switch_msrp_msg_t§last_msg: *mut switch_msrp_msg_t§mutex: *mut switch_mutex_t§msrp_msg_buffer_size: switch_size_t§msrp_msg_count: switch_size_t§msock: *mut switch_msrp_socket_t§csock: *mut switch_msrp_client_socket_t§frame: switch_frame_t§frame_data: [u8; 16384]§running: c_int§user_data: *mut c_void§send_queue: *mut switch_queue_tTrait Implementations§
Source§impl Clone for switch_msrp_session_s
impl Clone for switch_msrp_session_s
Source§fn clone(&self) -> switch_msrp_session_s
fn clone(&self) -> switch_msrp_session_s
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_msrp_session_s
impl Debug for switch_msrp_session_s
Source§impl Default for switch_msrp_session_s
impl Default for switch_msrp_session_s
impl Copy for switch_msrp_session_s
Auto Trait Implementations§
impl Freeze for switch_msrp_session_s
impl RefUnwindSafe for switch_msrp_session_s
impl !Send for switch_msrp_session_s
impl !Sync for switch_msrp_session_s
impl Unpin for switch_msrp_session_s
impl UnsafeUnpin for switch_msrp_session_s
impl UnwindSafe for switch_msrp_session_s
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