pub struct WsDataFrame { /* private fields */ }
Implementations§
Source§impl WsDataFrame
impl WsDataFrame
pub fn payload_reader(&self) -> FramePayloadReaderState
pub fn kind(&self) -> WsDataFrameKind
pub fn fin(&self) -> bool
pub fn mask(&self) -> [u8; 4]
pub fn payload_len(&self) -> u64
Trait Implementations§
Source§impl Clone for WsDataFrame
impl Clone for WsDataFrame
Source§fn clone(&self) -> WsDataFrame
fn clone(&self) -> WsDataFrame
Returns a copy 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 Debug for WsDataFrame
impl Debug for WsDataFrame
impl Copy for WsDataFrame
Auto Trait Implementations§
impl Freeze for WsDataFrame
impl RefUnwindSafe for WsDataFrame
impl Send for WsDataFrame
impl Sync for WsDataFrame
impl Unpin for WsDataFrame
impl UnwindSafe for WsDataFrame
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