#[repr(C)]pub struct tm_web_socket_event_t {
pub opcode: u32,
pub _padding_103: [i8; 4],
pub payload_size: u64,
pub payload: tm_segmented_buffer_t,
pub payload_reference: *mut c_void,
}Fields§
§opcode: u32§_padding_103: [i8; 4]§payload_size: u64§payload: tm_segmented_buffer_t§payload_reference: *mut c_voidTrait Implementations§
Source§impl Clone for tm_web_socket_event_t
impl Clone for tm_web_socket_event_t
Source§fn clone(&self) -> tm_web_socket_event_t
fn clone(&self) -> tm_web_socket_event_t
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 moreimpl Copy for tm_web_socket_event_t
Auto Trait Implementations§
impl Freeze for tm_web_socket_event_t
impl RefUnwindSafe for tm_web_socket_event_t
impl !Send for tm_web_socket_event_t
impl !Sync for tm_web_socket_event_t
impl Unpin for tm_web_socket_event_t
impl UnwindSafe for tm_web_socket_event_t
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