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 'life0: 'async_trait,
             Self: '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 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

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

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 'life0: 'async_trait, Self: '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 'life0: 'async_trait, Self: 'async_trait,

Implementors§