pub struct ClientBuilder { /* private fields */ }Expand description
Builder implementation to construct any Runtime API clients.
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub fn with_connector(self, connector: HttpConnector) -> ClientBuilder
pub fn with_connector(self, connector: HttpConnector) -> ClientBuilder
Create a new builder with a given HTTP connector.
Sourcepub fn with_endpoint(self, uri: Uri) -> Self
pub fn with_endpoint(self, uri: Uri) -> Self
Create a new builder with a given base URI. Inherits all other attributes from the existent builder.
Sourcepub fn with_pool_size(self, pool_size: usize) -> Self
pub fn with_pool_size(self, pool_size: usize) -> Self
Provide a pool size hint for the underlying Hyper client.
When using concurrent polling, this should be at least the maximum
concurrency (e.g., AWS_LAMBDA_MAX_CONCURRENCY) to avoid connection
starvation.
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