Trait mav_sdk::grpc::info::InfoService[][src]

pub trait InfoService: Send + Sync + 'static {
    fn get_flight_information<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetFlightInformationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetFlightInformationResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_identification<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetIdentificationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetIdentificationResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_product<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetProductRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetProductResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_version<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetVersionRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetVersionResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_speed_factor<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetSpeedFactorRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetSpeedFactorResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with InfoServiceServer.

Required methods

Get flight information of the system.

Get the identification of the system.

Get product information of the system.

Get the version information of the system.

Get the speed factor of a simulation (with lockstep a simulation can run faster or slower than realtime).

Implementors