pub struct WsHandle { /* private fields */ }Expand description
A lightweight, cloneable handle to the WebSocket server’s broadcast capability. Non-generic — can be passed across async task boundaries.
Constructed via WsServer::handle(). Used by the CLI to forward
meter updates from the in-process audio callback to browser clients.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsHandle
impl !RefUnwindSafe for WsHandle
impl Send for WsHandle
impl Sync for WsHandle
impl Unpin for WsHandle
impl !UnwindSafe for WsHandle
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