pub struct BlockingBasicClient { /* private fields */ }Expand description
Hardened provider-neutral reqwest blocking Basic-auth transport.
Trait Implementations§
Source§impl BlockingAuthenticatedTransport for BlockingBasicClient
impl BlockingAuthenticatedTransport for BlockingBasicClient
Source§type Error = TransportFailure<TransportError>
type Error = TransportFailure<TransportError>
Transport-specific failure.
Source§fn send_authenticated(
&self,
request: AuthenticatedRequest<'_, '_>,
response: &mut ResponseWriter<'_>,
) -> Result<(), Self::Error>
fn send_authenticated( &self, request: AuthenticatedRequest<'_, '_>, response: &mut ResponseWriter<'_>, ) -> Result<(), Self::Error>
Validates scope and sends one authenticated request.
Source§impl BoundTransport for BlockingBasicClient
impl BoundTransport for BlockingBasicClient
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 BlockingBasicClient
impl Clone for BlockingBasicClient
Source§fn clone(&self) -> BlockingBasicClient
fn clone(&self) -> BlockingBasicClient
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 BlockingBasicClient
impl Debug for BlockingBasicClient
Source§impl ResponseStorageSanitizer for BlockingBasicClient
impl ResponseStorageSanitizer for BlockingBasicClient
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 BlockingBasicClient
impl !RefUnwindSafe for BlockingBasicClient
impl !UnwindSafe for BlockingBasicClient
impl Send for BlockingBasicClient
impl Sync for BlockingBasicClient
impl Unpin for BlockingBasicClient
impl UnsafeUnpin for BlockingBasicClient
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