INNER CODE UNIT · Rust
read_fifo_queue
slowtec/tokio-modbus · src/client/mod.rs:73
async fn read_fifo_queue(&mut self, addr: Address) -> Result<Vec<Word>>;
/// Read device identification (`0x2B` / `0x0E`)
async fn read_device_identification(
&mut self,
read_code: ReadCode,
object_id: ObjectId,
) -> Result<ReadDeviceIdentificationResponse>;
}
/// Asynchronous Modbus writer
#[async_trait]
pub trait Writer: Client {
/// Write a single coil (0x05)
async fn write_single_coil(&mut self, addr: Address, coil: Coil) -> Result<()>;
/// Write a single holding register (0x06)
async fn write_single_register(&mut self, addr: Address, word: Word) -> Result<()>;