Trait gaia_stub::recorder::recorder_server::Recorder

source ·
pub trait Recorder:
    Send
    + Sync
    + 'static {
    // Required methods
    fn post_command<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PostCommandRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<PostCommandResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn post_telemetry<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PostTelemetryRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<PostTelemetryResponse>, 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 RecorderServer.

Required Methods§

source

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

source

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

Implementors§