pub struct WsLinkTx { /* private fields */ }Expand description
Sending half of a WsLink.
Internally uses a bounded mpsc channel (capacity 1) to serialize writes and provide backpressure. The I/O task drains the channel and sends binary WebSocket frames.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsLinkTx
impl RefUnwindSafe for WsLinkTx
impl Send for WsLinkTx
impl Sync for WsLinkTx
impl Unpin for WsLinkTx
impl UnsafeUnpin for WsLinkTx
impl UnwindSafe for WsLinkTx
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