pub struct AsyncBasicClientBuilder { /* private fields */ }Expand description
Builder requiring a scoped Basic credential and complete transport limits.
Implementations§
Source§impl AsyncBasicClientBuilder
impl AsyncBasicClientBuilder
Sourcepub const fn new(
endpoint: HttpsEndpoint,
credential: BasicCredential,
user_agent: UserAgent,
timeouts: RequestTimeouts,
) -> Self
pub const fn new( endpoint: HttpsEndpoint, credential: BasicCredential, user_agent: UserAgent, timeouts: RequestTimeouts, ) -> Self
Creates a complete asynchronous Basic-client configuration.
Sourcepub fn build(self) -> Result<AsyncBasicClient, BuildError>
pub fn build(self) -> Result<AsyncBasicClient, BuildError>
Builds a hardened HTTPS-only Basic-auth client.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AsyncBasicClientBuilder
impl RefUnwindSafe for AsyncBasicClientBuilder
impl Send for AsyncBasicClientBuilder
impl Sync for AsyncBasicClientBuilder
impl Unpin for AsyncBasicClientBuilder
impl UnsafeUnpin for AsyncBasicClientBuilder
impl UnwindSafe for AsyncBasicClientBuilder
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