pub struct WebSocketHandler { /* private fields */ }Expand description
Websocket client. In most cases, this shouldn’t be used directly, but generated code will use this.
Implementations§
Trait Implementations§
Source§impl ClientHandler<'static> for WebSocketHandler
impl ClientHandler<'static> for WebSocketHandler
fn call<'a, 'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
package: &'life1 str,
service: &'life2 str,
method: &'life3 str,
input: ServiceClientStream<'a, Bytes>,
) -> Pin<Box<dyn Future<Output = Result<ServiceClientStream<'a, Bytes>, ServiceError>> + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait + 'static,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for WebSocketHandler
impl RefUnwindSafe for WebSocketHandler
impl Send for WebSocketHandler
impl Sync for WebSocketHandler
impl Unpin for WebSocketHandler
impl UnwindSafe for WebSocketHandler
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