pub struct Dataframe { /* private fields */ }Expand description
Dataframe created by DataframeBuilder that represents the content from a Websocket frame
Implementations§
Source§impl Dataframe
impl Dataframe
pub fn get_message(self) -> WsGonzaleResult<Message>
pub fn is_fin(&self) -> bool
pub fn is_rsv1(&self) -> bool
pub fn is_rsv2(&self) -> bool
pub fn is_rsv3(&self) -> bool
pub fn get_opcode(&self) -> u8
pub fn is_mask(&self) -> bool
pub fn get_payload_length(&self) -> u64
pub fn get_full_frame_length(&self) -> u64
pub fn get_payload(self) -> Vec<u8> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dataframe
impl RefUnwindSafe for Dataframe
impl Send for Dataframe
impl Sync for Dataframe
impl Unpin for Dataframe
impl UnwindSafe for Dataframe
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