#[repr(C)]pub struct aws_websocket_incoming_frame {
pub payload_length: u64,
pub opcode: u8,
pub fin: bool,
pub rsv: [bool; 3],
}
Expand description
Data about an incoming frame. See RFC-6455 Section 5.2.
Fields
payload_length: u64
opcode: u8
fin: bool
rsv: [bool; 3]
Trait Implementations
sourceimpl Clone for aws_websocket_incoming_frame
impl Clone for aws_websocket_incoming_frame
sourcefn clone(&self) -> aws_websocket_incoming_frame
fn clone(&self) -> aws_websocket_incoming_frame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_websocket_incoming_frame
impl Debug for aws_websocket_incoming_frame
sourceimpl Default for aws_websocket_incoming_frame
impl Default for aws_websocket_incoming_frame
sourcefn default() -> aws_websocket_incoming_frame
fn default() -> aws_websocket_incoming_frame
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_websocket_incoming_frame> for aws_websocket_incoming_frame
impl PartialEq<aws_websocket_incoming_frame> for aws_websocket_incoming_frame
sourcefn eq(&self, other: &aws_websocket_incoming_frame) -> bool
fn eq(&self, other: &aws_websocket_incoming_frame) -> bool
impl Copy for aws_websocket_incoming_frame
impl Eq for aws_websocket_incoming_frame
impl StructuralEq for aws_websocket_incoming_frame
impl StructuralPartialEq for aws_websocket_incoming_frame
Auto Trait Implementations
impl RefUnwindSafe for aws_websocket_incoming_frame
impl Send for aws_websocket_incoming_frame
impl Sync for aws_websocket_incoming_frame
impl Unpin for aws_websocket_incoming_frame
impl UnwindSafe for aws_websocket_incoming_frame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more