pub struct ReqwestTransport { /* private fields */ }Expand description
reqwest with rustls on a private one-thread runtime, so blocking callers (host request threads) never run inside another runtime. No proxy (as Node’s fetch), no redirects, no decompression.
Implementations§
Trait Implementations§
Source§impl Drop for ReqwestTransport
impl Drop for ReqwestTransport
Source§impl Transport for ReqwestTransport
impl Transport for ReqwestTransport
fn send( &self, request: HttpRequest, max_bytes: usize, timeout: Duration, signal: &Signal, ) -> Result<HttpResponse, TransportError>
Auto Trait Implementations§
impl !Freeze for ReqwestTransport
impl !RefUnwindSafe for ReqwestTransport
impl !UnwindSafe for ReqwestTransport
impl Forget for ReqwestTransport
impl Move for ReqwestTransport
impl Send for ReqwestTransport
impl Sync for ReqwestTransport
impl Unpin for ReqwestTransport
impl UnsafeUnpin for ReqwestTransport
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