pub struct ClientBuilder { /* private fields */ }Implementationsยง
Sourceยงimpl ClientBuilder
impl ClientBuilder
pub fn auth(self, auth: Auth) -> Self
pub fn endpoint_mode(self, mode: EndpointMode) -> Self
pub fn default_region(self, region: impl Into<Region>) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn connect_timeout(self, timeout: Duration) -> Self
pub fn read_timeout(self, timeout: Duration) -> Self
pub fn capture_body_snippet(self, enabled: bool) -> Self
pub fn body_snippet_max_bytes(self, max_bytes: usize) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn danger_accept_invalid_certs(self, enabled: bool) -> Self
pub fn no_system_proxy(self, enabled: bool) -> Self
pub fn retry(self, max_retries: usize, base_delay: Duration) -> Self
pub fn build(self) -> Result<Client>
Auto Trait Implementationsยง
impl Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnwindSafe for ClientBuilder
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more