Struct rusty_box::http_client::reqwest::ReqwestClient
source · pub struct ReqwestClient { /* private fields */ }Trait Implementations§
source§impl BaseHttpClient for ReqwestClient
impl BaseHttpClient for ReqwestClient
type Error = ReqwestError
fn get<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, url: &'life1 str, headers: Option<&'life2 Headers>, query: &'life3 Query<'_> ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
fn post<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, url: &'life1 str, headers: Option<&'life2 Headers>, query: Option<&'life3 Query<'_>>, payload: &'life4 Value ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,
fn post_form<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, url: &'life1 str, headers: Option<&'life2 Headers>, payload: &'life3 Form<'life4> ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,
fn put<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, url: &'life1 str, headers: Option<&'life2 Headers>, query: Option<&'life3 Query<'_>>, payload: &'life4 Value ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,
fn delete<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, url: &'life1 str, headers: Option<&'life2 Headers>, payload: &'life3 Value ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
source§impl Clone for ReqwestClient
impl Clone for ReqwestClient
source§fn clone(&self) -> ReqwestClient
fn clone(&self) -> ReqwestClient
Returns a copy 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 ReqwestClient
impl Debug for ReqwestClient
Auto Trait Implementations§
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