pub trait DataRequest: Send + Sync + 'static {
    // Required methods
    fn move_object<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MoveProperties>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ObjectMoveHandle>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_move_status<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ObjectMoveHandle>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ObjectMoveHandle>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn trigger_move<'life0, 'async_trait>(
        &'life0 self,
        request: Request<TriggerMoveProperties>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ObjectMoveHandle>, 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 DataRequestServer.

Required Methods§

source

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

source

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

source

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

Implementors§