Trait tokio_modbus::client::Reader [−][src]
pub trait Reader: Client {
fn read_coils<'life0, 'async_trait>(
&'life0 mut self,
__arg1: u16,
__arg2: u16
) -> Pin<Box<dyn Future<Output = Result<Vec<bool>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn read_discrete_inputs<'life0, 'async_trait>(
&'life0 mut self,
__arg1: u16,
__arg2: u16
) -> Pin<Box<dyn Future<Output = Result<Vec<bool>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn read_input_registers<'life0, 'async_trait>(
&'life0 mut self,
__arg1: u16,
__arg2: u16
) -> Pin<Box<dyn Future<Output = Result<Vec<u16>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn read_holding_registers<'life0, 'async_trait>(
&'life0 mut self,
__arg1: u16,
__arg2: u16
) -> Pin<Box<dyn Future<Output = Result<Vec<u16>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn read_write_multiple_registers<'life0, 'life1, 'async_trait>(
&'life0 mut self,
__arg1: u16,
__arg2: u16,
__arg3: u16,
__arg4: &'life1 [u16]
) -> Pin<Box<dyn Future<Output = Result<Vec<u16>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
An asynchronous Modbus reader.