Struct ws_tool::frame::Frame [−][src]
pub struct Frame(_);Expand description
websocket data frame
Implementations
NOTE if change mask bit after setting payload you need to set payload again to adjust data frame
return unmask(if masked) payload data
helper construct methods
set frame payload
NOTE! avoid calling this method multi times, since it need to calculate mask every time
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more