Trait svc_compliance::grpc::server::RpcService
source · 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§
sourcefn 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 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
sourcefn 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 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
sourcefn 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,
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