pub struct ReqwestClient { /* private fields */ }
Implementations§
Source§impl ReqwestClient
impl ReqwestClient
Trait Implementations§
Source§impl From<Client> for ReqwestClient
impl From<Client> for ReqwestClient
Source§impl HttpClient for ReqwestClient
impl HttpClient for ReqwestClient
fn proxy(&self) -> Option<&Url>
fn type_name(&self) -> &'static str
fn send( &self, req: Request<AsyncBody>, ) -> BoxFuture<'static, Result<Response<AsyncBody>>>
fn get<'a>( &'a self, uri: &str, body: AsyncBody, follow_redirects: bool, ) -> BoxFuture<'a, Result<Response<AsyncBody>>>
fn post_json<'a>( &'a self, uri: &str, body: AsyncBody, ) -> BoxFuture<'a, Result<Response<AsyncBody>>>
Auto Trait Implementations§
impl Freeze for ReqwestClient
impl !RefUnwindSafe for ReqwestClient
impl Send for ReqwestClient
impl Sync for ReqwestClient
impl Unpin for ReqwestClient
impl !UnwindSafe for ReqwestClient
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