Trait perspective_client::ClientHandler

source ·
pub trait ClientHandler:
    Clone
    + Send
    + Sync
    + 'static {
    // Required method
    fn send_request<'a>(
        &'a self,
        msg: &'a [u8],
    ) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send;
}

Required Methods§

source

fn send_request<'a>( &'a self, msg: &'a [u8], ) -> impl Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send

Object Safety§

This trait is not object safe.

Implementors§