pub struct PaymentProcessorServer { /* private fields */ }Expand description
Payment Processor
Implementations§
Trait Implementations§
Source§impl CdkPaymentProcessor for PaymentProcessorServer
impl CdkPaymentProcessor for PaymentProcessorServer
Source§type WaitIncomingPaymentStream = Pin<Box<dyn Stream<Item = Result<WaitIncomingPaymentResponse, Status>> + Send>>
type WaitIncomingPaymentStream = Pin<Box<dyn Stream<Item = Result<WaitIncomingPaymentResponse, Status>> + Send>>
Server streaming response type for the WaitIncomingPayment method.
fn get_settings<'life0, 'async_trait>(
&'life0 self,
_request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SettingsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_payment<'life0, 'async_trait>(
&'life0 self,
request: Request<CreatePaymentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreatePaymentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_payment_quote<'life0, 'async_trait>(
&'life0 self,
request: Request<PaymentQuoteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PaymentQuoteResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn make_payment<'life0, 'async_trait>(
&'life0 self,
request: Request<MakePaymentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakePaymentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_incoming_payment<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckIncomingPaymentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckIncomingPaymentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_outgoing_payment<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckOutgoingPaymentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakePaymentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn wait_incoming_payment<'life0, 'async_trait>(
&'life0 self,
_request: Request<EmptyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WaitIncomingPaymentStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for PaymentProcessorServer
impl Clone for PaymentProcessorServer
Source§fn clone(&self) -> PaymentProcessorServer
fn clone(&self) -> PaymentProcessorServer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PaymentProcessorServer
impl !RefUnwindSafe for PaymentProcessorServer
impl Send for PaymentProcessorServer
impl Sync for PaymentProcessorServer
impl Unpin for PaymentProcessorServer
impl !UnwindSafe for PaymentProcessorServer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request