pub fn timeout(&mut self, duration: Duration) -> &mut Self {
        self.0.timeout = duration;

        self
    }
/// Sets the timeout for HTTP requests.
///
/// The default is 10 seconds.
Sets the timeout for HTTP requests.
The default is 10 seconds.
Sets the timeout for HTTP requests . The default is 10 seconds .
pub fn timeout(&mut self, duration: Duration) -> &mut Self {
        self.0.timeout = duration;
        self
    }
pub fn timeout ( & mut self , duration : Duration ) -> & mut Self { self . 0 . timeout = duration ; self }
Sets the timeout for HTTP requests.
Sets the timeout for HTTP requests .
&mut self
duration
Duration
&mut self
duration
Duration