breez_sdk_liquid::grpc::pos_server

Trait Pos

pub trait Pos:
    Send
    + Sync
    + 'static {
    // Required methods
    fn register_device<'life0, 'async_trait>(
        &'life0 self,
        request: Request<RegisterRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<RegisterReply>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn upload_logo<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UploadFileRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<UploadFileReply>, 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 PosServer.

Required Methods§

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

Implementors§