pub struct InboundBuffer { /* private fields */ }Expand description
The shared inbound buffer the WS reader thread fills and the command path drains. The optional callback carries no data; it only wakes an owning mailbox so the host can drain the buffer promptly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for InboundBuffer
impl !RefUnwindSafe for InboundBuffer
impl !UnwindSafe for InboundBuffer
impl Send for InboundBuffer
impl Sync for InboundBuffer
impl Unpin for InboundBuffer
impl UnsafeUnpin for InboundBuffer
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