Trait autd3_protobuf::ecat_server::Ecat
source · pub trait Ecat: Send + Sync + 'static {
// Required methods
fn send_data<'life0, 'async_trait>(
&'life0 self,
request: Request<TxRawData>
) -> Pin<Box<dyn Future<Output = Result<Response<SendResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_data<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RxMessage>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn close<'life0, 'async_trait>(
&'life0 self,
request: Request<CloseRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CloseResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with EcatServer.