pub struct ReqwestBackend { /* private fields */ }Expand description
The default backend: executes requests on a wrapped reqwest::Client. This is what
Client::new and Client::with_client install, so the out-of-the-box behavior is unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for ReqwestBackend
impl Clone for ReqwestBackend
Source§impl Debug for ReqwestBackend
impl Debug for ReqwestBackend
Source§impl HttpBackend for ReqwestBackend
impl HttpBackend for ReqwestBackend
Source§fn execute(&self, request: Request) -> ExecuteFuture<'_>
fn execute(&self, request: Request) -> ExecuteFuture<'_>
Execute a prepared request, yielding the raw response or a transport failure. A backend that
fails should wrap the originating
reqwest::Error via TransportError::new so
[super::send] can reclassify timeouts/redirects/protocol errors into the taxonomy.Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestBackend
impl !UnwindSafe for ReqwestBackend
impl Freeze for ReqwestBackend
impl Send for ReqwestBackend
impl Sync for ReqwestBackend
impl Unpin for ReqwestBackend
impl UnsafeUnpin for ReqwestBackend
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