pub trait StripeBlockingClient {
type Err: StripeClientErr;
// Required method
fn execute(&self, req: CustomizedStripeRequest) -> Result<Bytes, Self::Err>;
}
Expand description
An abstraction for defining HTTP clients capable of making blocking Stripe API requests compatible with request information generated in the stripe request crates.
Required Associated Types§
Sourcetype Err: StripeClientErr
type Err: StripeClientErr
The error returned, either if the request failed due to an issue with client communicating with Stripe, or a client error returned by the Stripe API.