Skip to main content

GenericClientBuilder

Trait GenericClientBuilder 

Source
pub trait GenericClientBuilder<RB, C>: Send + Sync
where C: GenericClient<RB>,
{ // Required method fn build(self) -> Result<C, Error>; }
Expand description

Generic trait for building HTTP clients.

Required Methods§

Source

fn build(self) -> Result<C, Error>

Build the HTTP client.

§Errors
  • If the Client fails to build

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§