Trait mav_sdk::grpc::core::core_service_server::CoreService[][src]

pub trait CoreService: Send + Sync + 'static {
    type SubscribeConnectionStateStream: Stream<Item = Result<ConnectionStateResponse, Status>> + Send + Sync + 'static;
    fn subscribe_connection_state<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeConnectionStateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeConnectionStateStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_running_plugins<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListRunningPluginsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListRunningPluginsResponse>, 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 CoreServiceServer.

Associated Types

Server streaming response type for the SubscribeConnectionState method.

Required methods

Subscribe to ‘connection state’ updates.

Get a list of currently running plugins.

Implementors