Trait breez_sdk_core::grpc::information_server::Information
pub trait Information:
Send
+ Sync
+ 'static {
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self,
request: Request<PingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PingReply>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn rates<'life0, 'async_trait>(
&'life0 self,
request: Request<RatesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RatesReply>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn breez_app_versions<'life0, 'async_trait>(
&'life0 self,
request: Request<BreezAppVersionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BreezAppVersionsReply>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn receiver_info<'life0, 'async_trait>(
&'life0 self,
request: Request<ReceiverInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReceiverInfoReply>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn chain_api_servers<'life0, 'async_trait>(
&'life0 self,
request: Request<ChainApiServersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ChainApiServersReply>, 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 InformationServer.