pub trait ClientExt: Send {
    type Params: Debug + Send;
    fn text<'life0, 'async_trait>(
        &'life0 mut self,
        text: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn binary<'life0, 'async_trait>(
        &'life0 mut self,
        bytes: Vec<u8>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn call<'life0, 'async_trait>(
        &'life0 mut self,
        params: Self::Params
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Required methods

Implementors