pub struct FetchHttpClient { /* private fields */ }Expand description
HTTP client backing the fetch utility.
See HttpClient for the behavioral contract: timeouts, redirects, and body
truncation are all implemented at this layer.
Trait Implementations§
Source§impl Debug for FetchHttpClient
impl Debug for FetchHttpClient
Source§impl HttpClient for FetchHttpClient
impl HttpClient for FetchHttpClient
fn fetch( &self, req: HttpRequest, ) -> BoxFuture<'_, Result<HttpResponse, HttpClientError>>
Auto Trait Implementations§
impl !Freeze for FetchHttpClient
impl !RefUnwindSafe for FetchHttpClient
impl !UnwindSafe for FetchHttpClient
impl Send for FetchHttpClient
impl Sync for FetchHttpClient
impl Unpin for FetchHttpClient
impl UnsafeUnpin for FetchHttpClient
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