breez_sdk_liquid::grpc::public_channel_opener_server

Trait PublicChannelOpener

pub trait PublicChannelOpener:
    Send
    + Sync
    + 'static {
    // Required method
    fn open_public_channel<'life0, 'async_trait>(
        &'life0 self,
        request: Request<OpenPublicChannelRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<OpenPublicChannelReply>, 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 PublicChannelOpenerServer.

Required Methods§

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

Implementors§