pub struct WsTransport { /* private fields */ }Expand description
Connected WebSocket transport. Owns the underlying
[tungstenite::WebSocket]; close sends a WebSocket Close frame
so the peer observes a clean end-of-stream.
Trait Implementations§
Source§impl Drop for WsTransport
impl Drop for WsTransport
Auto Trait Implementations§
impl !RefUnwindSafe for WsTransport
impl !Sync for WsTransport
impl !UnwindSafe for WsTransport
impl Freeze for WsTransport
impl Send for WsTransport
impl Unpin for WsTransport
impl UnsafeUnpin for WsTransport
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