pub trait RpcService: Send + Sync + 'static {
    // Required methods
    fn is_ready<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ReadyRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ReadyResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn submit_flight_plan<'life0, 'async_trait>(
        &'life0 self,
        request: Request<FlightPlanRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<FlightPlanResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn request_flight_release<'life0, 'async_trait>(
        &'life0 self,
        request: Request<FlightReleaseRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<FlightReleaseResponse>, 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 RpcServiceServer.

Required Methods§

source

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

is ready heartbeat

source

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

submit flight plan

source

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

release flight plan

Implementors§