pub struct WsFrame {
pub fin: bool,
pub opcode: WsOpcode,
pub payload: Vec<u8>,
pub masked: bool,
}Expand description
A decoded RFC 6455 WebSocket frame.
Fields§
§fin: bool§opcode: WsOpcode§payload: Vec<u8>§masked: boolTrait Implementations§
impl Eq for WsFrame
impl StructuralPartialEq for WsFrame
Auto Trait Implementations§
impl Forget for WsFrame
impl Freeze for WsFrame
impl Move for WsFrame
impl RefUnwindSafe for WsFrame
impl Send for WsFrame
impl Sync for WsFrame
impl Unpin for WsFrame
impl UnsafeUnpin for WsFrame
impl UnwindSafe for WsFrame
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