pub struct WsBackend<T> { /* private fields */ }
Expand description
An ongoing connection to a backend.
Users should NEVER instantiate a backend directly. Instead, they should use
PubSubConnect
to get a running service with a running backend.
Implementations§
Source§impl WsBackend<WebSocketStream<MaybeTlsStream<TcpStream>>>
impl WsBackend<WebSocketStream<MaybeTlsStream<TcpStream>>>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WsBackend<T>where
T: Freeze,
impl<T> !RefUnwindSafe for WsBackend<T>
impl<T> Send for WsBackend<T>where
T: Send,
impl<T> Sync for WsBackend<T>where
T: Sync,
impl<T> Unpin for WsBackend<T>where
T: Unpin,
impl<T> !UnwindSafe for WsBackend<T>
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