pub struct WsFragment {
pub opcode: WsOpcode,
pub buffer: Vec<u8>,
}Expand description
Ongoing fragmented message tracking state.
Fields§
§opcode: WsOpcode§buffer: Vec<u8>Trait Implementations§
Source§impl Clone for WsFragment
impl Clone for WsFragment
Auto Trait Implementations§
impl Forget for WsFragment
impl Freeze for WsFragment
impl Move for WsFragment
impl RefUnwindSafe for WsFragment
impl Send for WsFragment
impl Sync for WsFragment
impl Unpin for WsFragment
impl UnsafeUnpin for WsFragment
impl UnwindSafe for WsFragment
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