Docs.rs
  • switchy_http-0.1.0
    • switchy_http 0.1.0
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • BSteffaniak
    • Dependencies
      • async-trait ^0.1.88 normal
      • bytes ^1.10.1 normal
      • futures-core ^0.3.31 normal optional
      • futures-util ^0.3.31 normal
      • log ^0.4 normal
      • paste ^1.0.15 normal
      • reqwest ^0.12.15 normal optional
      • serde ^1 normal optional
      • serde_json ^1.0.140 normal optional
      • strum ^0.27.1 normal
      • switchy_http_models ^0.1.0 normal
      • thiserror ^2.0.12 normal
    • Versions
    • 1.59% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

switchy_http0.1.0

GenericClientBuilder

Required Methods

  • build

Implementors

In crate switchy_http

switchy_http

Trait GenericClientBuilder

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

Required Methods§

Source

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

§Errors
  • If the Client fails to build

Implementors§

Source§

impl GenericClientBuilder<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, ClientWrapper<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, Client>> for switchy_http::reqwest::ClientBuilder

Source§

impl GenericClientBuilder<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, ClientWrapper<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, Client>> for ReqwestClientBuilder

Source§

impl GenericClientBuilder<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, ClientWrapper<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, Client>> for switchy_http::simulator::ClientBuilder

Source§

impl GenericClientBuilder<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, ClientWrapper<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>, Client>> for SimulatorClientBuilder