pub struct AsyncBasicClient { /* private fields */ }Expand description
Hardened provider-neutral reqwest asynchronous Basic-auth transport.
Trait Implementations§
Source§impl AsyncAuthenticatedTransport for AsyncBasicClient
impl AsyncAuthenticatedTransport for AsyncBasicClient
Source§type Error = TransportFailure<TransportError>
type Error = TransportFailure<TransportError>
Transport-specific failure.
Source§async fn send_authenticated<'transport, 'request, 'policy, 'writer>(
&'transport self,
request: AuthenticatedRequest<'request, 'policy>,
response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'transport: 'writer,
'request: 'writer,
'policy: 'writer,
async fn send_authenticated<'transport, 'request, 'policy, 'writer>(
&'transport self,
request: AuthenticatedRequest<'request, 'policy>,
response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'transport: 'writer,
'request: 'writer,
'policy: 'writer,
Validates scope and sends one authenticated request.
Source§impl BoundTransport for AsyncBasicClient
impl BoundTransport for AsyncBasicClient
Source§fn endpoint_identity(
&self,
) -> Result<EndpointIdentity<'_>, EndpointIdentityError>
fn endpoint_identity( &self, ) -> Result<EndpointIdentity<'_>, EndpointIdentityError>
Returns the immutable normalized endpoint identity.
Source§impl Clone for AsyncBasicClient
impl Clone for AsyncBasicClient
Source§fn clone(&self) -> AsyncBasicClient
fn clone(&self) -> AsyncBasicClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsyncBasicClient
impl Debug for AsyncBasicClient
Source§impl ResponseStorageSanitizer for AsyncBasicClient
impl ResponseStorageSanitizer for AsyncBasicClient
Source§fn sanitize_response_storage(&self, response_storage: &mut [u8])
fn sanitize_response_storage(&self, response_storage: &mut [u8])
Applies an additive platform-specific cleanup operation.
Auto Trait Implementations§
impl !Freeze for AsyncBasicClient
impl !RefUnwindSafe for AsyncBasicClient
impl !UnwindSafe for AsyncBasicClient
impl Send for AsyncBasicClient
impl Sync for AsyncBasicClient
impl Unpin for AsyncBasicClient
impl UnsafeUnpin for AsyncBasicClient
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