Trait tokio_modbus::server::Service
source · pub trait Service {
type Request;
type Response;
type Error;
type Future: Future<Output = Result<Self::Response, Self::Error>> + Send + Sync + Unpin;
// Required method
fn call(&self, req: Self::Request) -> Self::Future;
}Expand description
A Modbus server service.