pub struct WsReceiver<R: WsCodec> { /* private fields */ }Expand description
The receiving half of a typed WebSocket connection.
Obtained by calling WsConnection::split.
Implementations§
Auto Trait Implementations§
impl<R> Freeze for WsReceiver<R>
impl<R> !RefUnwindSafe for WsReceiver<R>
impl<R> Send for WsReceiver<R>where
R: Send,
impl<R> !Sync for WsReceiver<R>
impl<R> Unpin for WsReceiver<R>where
R: Unpin,
impl<R> UnsafeUnpin for WsReceiver<R>
impl<R> !UnwindSafe for WsReceiver<R>
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