pub struct WebSocketClientTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ClientTransport for WebSocketClientTransport
impl ClientTransport for WebSocketClientTransport
fn connect<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<UnboundedReceiver<ServerToClientMessage>, MdpClientError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>(
&'life0 mut self,
message: ClientToServerMessage,
) -> Pin<Box<dyn Future<Output = Result<(), MdpClientError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), MdpClientError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for WebSocketClientTransport
impl !RefUnwindSafe for WebSocketClientTransport
impl Send for WebSocketClientTransport
impl Sync for WebSocketClientTransport
impl Unpin for WebSocketClientTransport
impl UnsafeUnpin for WebSocketClientTransport
impl !UnwindSafe for WebSocketClientTransport
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