Struct aws_types::http_connector::ConnectorSettings
source · #[non_exhaustive]pub struct ConnectorSettings { /* private fields */ }
Expand description
Settings for HTTP Connectors
Implementations§
source§impl ConnectorSettings
impl ConnectorSettings
sourcepub fn builder() -> ConnectorSettingsBuilder
pub fn builder() -> ConnectorSettingsBuilder
Returns a builder for ConnectorSettings
.
sourcepub fn connect_timeout(&self) -> Option<Duration>
pub fn connect_timeout(&self) -> Option<Duration>
Returns the connect timeout that should be used.
The connect timeout is a limit on the amount of time it takes to initiate a socket connection.
sourcepub fn read_timeout(&self) -> Option<Duration>
pub fn read_timeout(&self) -> Option<Duration>
Returns the read timeout that should be used.
The read timeout is the limit on the amount of time it takes to read the first byte of a response from the time the request is initiated.
Trait Implementations§
source§impl Clone for ConnectorSettings
impl Clone for ConnectorSettings
source§fn clone(&self) -> ConnectorSettings
fn clone(&self) -> ConnectorSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectorSettings
impl Debug for ConnectorSettings
source§impl Default for ConnectorSettings
impl Default for ConnectorSettings
source§fn default() -> ConnectorSettings
fn default() -> ConnectorSettings
Returns the “default value” for a type. Read more