#[repr(C)]pub struct msrp_msg_s {Show 16 fields
pub state: c_int,
pub method: c_int,
pub headers: *mut switch_event_t,
pub transaction_id: *const c_char,
pub delimiter: *const c_char,
pub code_number: c_int,
pub code_description: *const c_char,
pub byte_start: switch_size_t,
pub byte_end: switch_size_t,
pub bytes: switch_size_t,
pub payload_bytes: switch_size_t,
pub accumulated_bytes: switch_size_t,
pub range_star: c_int,
pub last_p: *mut c_char,
pub payload: *mut c_char,
pub next: *mut msrp_msg_s,
}Fields§
§state: c_int§method: c_int§headers: *mut switch_event_t§transaction_id: *const c_char§delimiter: *const c_char§code_number: c_int§code_description: *const c_char§byte_start: switch_size_t§byte_end: switch_size_t§bytes: switch_size_t§payload_bytes: switch_size_t§accumulated_bytes: switch_size_t§range_star: c_int§last_p: *mut c_char§payload: *mut c_char§next: *mut msrp_msg_sTrait Implementations§
Source§impl Clone for msrp_msg_s
impl Clone for msrp_msg_s
Source§fn clone(&self) -> msrp_msg_s
fn clone(&self) -> msrp_msg_s
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 msrp_msg_s
impl Debug for msrp_msg_s
Source§impl Default for msrp_msg_s
impl Default for msrp_msg_s
impl Copy for msrp_msg_s
Auto Trait Implementations§
impl Freeze for msrp_msg_s
impl RefUnwindSafe for msrp_msg_s
impl !Send for msrp_msg_s
impl !Sync for msrp_msg_s
impl Unpin for msrp_msg_s
impl UnsafeUnpin for msrp_msg_s
impl UnwindSafe for msrp_msg_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