[−][src]Trait arangors::client::ClientExt
Required methods
fn new<U: Into<Option<HeaderMap>>>(headers: U) -> Result<Self, ClientError> where
Self: Sized,
Self: Sized,
#[must_use]fn request<'life0, 'async_trait>(
&'life0 self,
request: Request<String>
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
request: Request<String>
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn get<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn post<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn put<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn delete<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn patch<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn connect<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn head<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn options<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn trace<'life0, 'async_trait, T>(
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
url: Url,
text: T
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
Self: Sized,
T: Into<String> + Send,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl ClientExt for ReqwestClient
[src]
fn new<U: Into<Option<HeaderMap>>>(headers: U) -> Result<Self, ClientError>
[src]
fn request<'life0, 'async_trait>(
&'life0 self,
request: Request<String>
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<String>
) -> Pin<Box<dyn Future<Output = Result<Response<String>, ClientError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,