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