builder

Function builder 

Source
pub fn builder<C, B, S, A>(
    client: Client<C, B>,
    scheme: S,
    authority: A,
) -> Result<Builder<C, B>, Error>
Available on crate features http1 or http2 only.
Expand description

Builder of ReusedService.

For the meaning of “scheme” and “authority”, refer to the documentation of Uri.

§Errors

When scheme or authority cannot be converted into a Scheme or Authority.