pub trait PrimaryToPrimary: Send + Sync + 'static {
    fn send_message<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PrimaryMessage>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing RPC methods that should be implemented for use with PrimaryToPrimaryServer.

Required Methods

Implementors