Struct lambda_runtime_api_client::ClientBuilder
source · pub struct ClientBuilder<C: Service<Uri> = HttpConnector> { /* private fields */ }
Expand description
Builder implementation to construct any Runtime API clients.
Implementations§
source§impl<C> ClientBuilder<C>
impl<C> ClientBuilder<C>
sourcepub fn with_connector<C2>(self, connector: C2) -> ClientBuilder<C2>
pub fn with_connector<C2>(self, connector: C2) -> ClientBuilder<C2>
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<C> RefUnwindSafe for ClientBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for ClientBuilder<C>where
C: Send,
impl<C> Sync for ClientBuilder<C>where
C: Sync,
impl<C> Unpin for ClientBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for ClientBuilder<C>where
C: UnwindSafe,
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