pub struct BlockingClientBuilder { /* private fields */ }Expand description
Builder requiring endpoint, bearer token, user agent, and all timeout dimensions before a client can be constructed.
Implementations§
Source§impl BlockingClientBuilder
impl BlockingClientBuilder
Sourcepub const fn new(
endpoint: HttpsEndpoint,
token: BearerToken,
user_agent: UserAgent,
timeouts: RequestTimeouts,
) -> Self
pub const fn new( endpoint: HttpsEndpoint, token: BearerToken, user_agent: UserAgent, timeouts: RequestTimeouts, ) -> Self
Creates a complete blocking-client configuration.
Sourcepub fn with_fips_tls_policy(self, policy: FipsTlsPolicy) -> Self
pub fn with_fips_tls_policy(self, policy: FipsTlsPolicy) -> Self
Supplies mandatory deployment-managed roots and CRLs for FIPS TLS.
Sourcepub fn build(self) -> Result<BlockingClient, BuildError>
pub fn build(self) -> Result<BlockingClient, BuildError>
Builds a hardened HTTPS-only client.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BlockingClientBuilder
impl RefUnwindSafe for BlockingClientBuilder
impl Send for BlockingClientBuilder
impl Sync for BlockingClientBuilder
impl Unpin for BlockingClientBuilder
impl UnsafeUnpin for BlockingClientBuilder
impl UnwindSafe for BlockingClientBuilder
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