Trait breez_sdk_core::grpc::pos_server::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.