Trait location_manager::net::data_exchange_server::location_mgr::data_request_server::DataRequest
source · 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.