Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub trait RelayDiagnostics:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_diagnostic_capabilities<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DiagnosticCredentials>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DiagnosticCapabilities>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn open_diagnostic_session<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DiagnosticOpenRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DiagnosticSession>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn submit_diagnostic<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DiagnosticSubmission>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DiagnosticReceipt>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn read_diagnostic_page<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DiagnosticReadRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DiagnosticReadResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

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

Required Methods

get_diagnostic_capabilities

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

open_diagnostic_session

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

submit_diagnostic

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

read_diagnostic_page

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

Implementors