[−][src]Function tokio_modbus::client::tcp::connect_slave
pub fn connect_slave(
handle: &Handle,
socket_addr: SocketAddr,
slave: Slave
) -> impl Future<Item = Context, Error = Error>
Connect to a physical, broadcast, or custom Modbus device, probably through a Modbus TCP gateway that is forwarding messages to/from the corresponding slave device.