linera_rpc::grpc::api::notifier_service_server

Trait NotifierService

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

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

Required Methods§

Source

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

Notify a client that there has been an update for a ChainId.

Implementors§