BlockingClient

Trait BlockingClient 

Source
pub trait BlockingClient {
    type Err: PayjpClientErr;

    // Required method
    fn execute(&self, req: CustomizedPayjpRequest) -> Result<Bytes, Self::Err>;
}
Expand description

An abstraction for defining HTTP clients capable of making blocking API requests compatible with request information generated in the request crates.

Required Associated Types§

Source

type Err: PayjpClientErr

The error returned.

Required Methods§

Source

fn execute(&self, req: CustomizedPayjpRequest) -> Result<Bytes, Self::Err>

Make a blocking API call.

Implementors§