pub struct ReqwestTransportErrorMapper;Expand description
Default mapper for reqwest-backed transports.
Trait Implementations§
Source§impl Clone for ReqwestTransportErrorMapper
impl Clone for ReqwestTransportErrorMapper
Source§fn clone(&self) -> ReqwestTransportErrorMapper
fn clone(&self) -> ReqwestTransportErrorMapper
Returns a duplicate of the value. Read more
1.0.0 · 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 ReqwestTransportErrorMapper
impl Debug for ReqwestTransportErrorMapper
Source§impl Default for ReqwestTransportErrorMapper
impl Default for ReqwestTransportErrorMapper
Source§fn default() -> ReqwestTransportErrorMapper
fn default() -> ReqwestTransportErrorMapper
Returns the “default value” for a type. Read more
Source§impl TransportErrorMapper<Error> for ReqwestTransportErrorMapper
Available on crate feature reqwest only.
impl TransportErrorMapper<Error> for ReqwestTransportErrorMapper
Available on crate feature
reqwest only.Source§fn map_transport_error(
&self,
strategy: &dyn ProviderStrategy,
grant: GrantType,
meta: Option<&ResponseMetadata>,
err: HttpClientError<ReqwestError>,
) -> Error
fn map_transport_error( &self, strategy: &dyn ProviderStrategy, grant: GrantType, meta: Option<&ResponseMetadata>, err: HttpClientError<ReqwestError>, ) -> Error
Converts an
HttpClientError emitted by the transport into a broker error.Auto Trait Implementations§
impl Freeze for ReqwestTransportErrorMapper
impl RefUnwindSafe for ReqwestTransportErrorMapper
impl Send for ReqwestTransportErrorMapper
impl Sync for ReqwestTransportErrorMapper
impl Unpin for ReqwestTransportErrorMapper
impl UnwindSafe for ReqwestTransportErrorMapper
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