pub fn timeout(mut self, timeout: Duration) -> RequestBuilder {
        if let Ok(ref mut req) = self.request {
            *req.timeout_mut() = Some(timeout);
        }
        self
    }
/// Enables a request timeout.
///
/// The timeout is applied from the when the request starts connecting
/// until the response body has finished. It affects only this request
/// and overrides the timeout configured using `ClientBuilder::timeout()`.
Enables a request timeout.
The timeout is applied from the when the request starts connecting
until the response body has finished. It affects only this request
and overrides the timeout configured using `ClientBuilder::timeout()`.
Enables a request timeout . The timeout is applied from the when the request starts connecting until the response body has finished . It affects only this request and overrides the timeout configured using ` ClientBuilder :: timeout () ` .
pub fn timeout(mut self, timeout: Duration) -> RequestBuilder {
        if let Ok(ref mut req) = self.request {
            *req.timeout_mut() = Some(timeout);
        }
        self
    }
pub fn timeout ( mut self , timeout : Duration ) -> RequestBuilder { if let Ok ( ref mut req ) = self . request { * req . timeout_mut ( ) = Some ( timeout ) ; } self }
Enables a request timeout.
Enables a request timeout .
mut self
timeout
Duration
mut self
timeout
Duration