pub struct RawAsyncClient { /* private fields */ }Expand description
Raw async HTTP executor with no implicit authentication or provider policy.
Trait Implementations§
Source§impl AsyncRawHttpExecutor for RawAsyncClient
impl AsyncRawHttpExecutor for RawAsyncClient
Source§type Error = TransportFailure<RawHttpError>
type Error = TransportFailure<RawHttpError>
Executor-specific phased failure.
Source§async fn execute<'executor, 'request, 'policy, 'writer>(
&'executor self,
request: TransportRequest<'request>,
policy: RawResponsePolicy<'policy>,
response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'executor: 'writer,
'request: 'writer,
'policy: 'writer,
async fn execute<'executor, 'request, 'policy, 'writer>(
&'executor self,
request: TransportRequest<'request>,
policy: RawResponsePolicy<'policy>,
response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'executor: 'writer,
'request: 'writer,
'policy: 'writer,
Executes exactly once without implicit authentication or retries. Read more
Source§impl BoundTransport for RawAsyncClient
impl BoundTransport for RawAsyncClient
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 RawAsyncClient
impl Clone for RawAsyncClient
Source§fn clone(&self) -> RawAsyncClient
fn clone(&self) -> RawAsyncClient
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 RawAsyncClient
impl Debug for RawAsyncClient
Source§impl ResponseStorageSanitizer for RawAsyncClient
impl ResponseStorageSanitizer for RawAsyncClient
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 RawAsyncClient
impl !RefUnwindSafe for RawAsyncClient
impl !UnwindSafe for RawAsyncClient
impl Send for RawAsyncClient
impl Sync for RawAsyncClient
impl Unpin for RawAsyncClient
impl UnsafeUnpin for RawAsyncClient
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