Struct lambda_runtime_api_client::ClientBuilder
source · 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.
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