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

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

Required Methods§

source

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

Implementors§