[][src]Trait tokio_modbus::client::Client

pub trait Client: SlaveContext + Send {
    fn call<'a>(
        &'a mut self,
        request: Request
    ) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'a>>; }

A transport independent asynchronous client trait.

Required methods

fn call<'a>(
    &'a mut self,
    request: Request
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'a>>

Loading content...

Implementors

impl Client for Context[src]

Loading content...