Skip to main content

apply_connect_timeout

Function apply_connect_timeout 

Source
pub fn apply_connect_timeout(builder: ClientBuilder) -> ClientBuilder
Expand description

Apply the installed connect budget to an explicit client builder.

Prefer the create_* constructors; use this only where a call site needs builder options they do not offer (redirect or retry policy tweaks). A None budget (the phase was disabled) leaves the builder untouched.