pub trait Simulator: Send + Sync + 'static {
    // Required methods
    fn config_geomety<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Geometry>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GeometryResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    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 SimulatorServer.

Required Methods§

source

fn config_geomety<'life0, 'async_trait>( &'life0 self, request: Request<Geometry> ) -> Pin<Box<dyn Future<Output = Result<Response<GeometryResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

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,

source

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,

source

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,

Implementors§