pub struct WsBuf { /* private fields */ }Expand description
Buffered non-blocking WebSocket frame reader.
Accumulates bytes from a non-blocking or timeout-based stream and
yields complete frames without requiring read_exact.
Implementations§
Auto Trait Implementations§
impl Freeze for WsBuf
impl RefUnwindSafe for WsBuf
impl Send for WsBuf
impl Sync for WsBuf
impl Unpin for WsBuf
impl UnwindSafe for WsBuf
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