Trait workflow_websocket::client::Handshake
source · pub trait Handshake: Send + Sync + 'static {
// Required method
fn handshake<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
sender: &'life1 Sender<Message>,
receiver: &'life2 Receiver<Message>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}