[][src]Struct rusoto_core::request::HttpConfig

pub struct HttpConfig { /* fields omitted */ }

Configuration options for the HTTP Client

Implementations

impl HttpConfig[src]

pub fn new() -> HttpConfig[src]

Create a new HttpConfig

pub fn read_buf_size(&mut self, sz: usize)[src]

Sets the size of the read buffer for inbound data A larger buffer size might result in better performance by requiring fewer copies out of the socket buffer.

pub fn pool_idle_timeout<D>(&mut self, timeout: D) where
    D: Into<Option<Duration>>, 
[src]

Set an timeout for idle sockets being kept-alive. Some AWS services, like S3 require this value to match the one configured at the server's level in order to avoid connection closed errors.

Trait Implementations

impl Default for HttpConfig[src]

pub fn default() -> HttpConfig[src]

Create a new HttpConfig. Same as HttpConfig::new().

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.