pub struct ResponseWrapper<T: GenericResponse>(/* private fields */);Implementations§
Trait Implementations§
Source§impl GenericRequestBuilder<ResponseWrapper<Response>> for RequestBuilder
impl GenericRequestBuilder<ResponseWrapper<Response>> for RequestBuilder
fn header(&mut self, name: &str, value: &str)
fn body(&mut self, body: Bytes)
fn form(&mut self, form: &Value)
fn send<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<ReqwestResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl GenericRequestBuilder<ResponseWrapper<Response>> for RequestBuilder
impl GenericRequestBuilder<ResponseWrapper<Response>> for RequestBuilder
fn header(&mut self, _name: &str, _value: &str)
fn body(&mut self, _body: Bytes)
fn form(&mut self, _form: &Value)
fn send<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<SimulatorResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl GenericRequestBuilder<ResponseWrapper<Response>> for SimulatorRequestBuilder
impl GenericRequestBuilder<ResponseWrapper<Response>> for SimulatorRequestBuilder
fn header(&mut self, name: &str, value: &str)
fn body(&mut self, body: Bytes)
fn form(&mut self, form: &Value)
fn send<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<SimulatorResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl GenericRequestBuilder<ResponseWrapper<Response>> for ReqwestRequestBuilder
impl GenericRequestBuilder<ResponseWrapper<Response>> for ReqwestRequestBuilder
fn header(&mut self, name: &str, value: &str)
fn body(&mut self, body: Bytes)
fn form(&mut self, form: &Value)
fn send<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<ReqwestResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for ResponseWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for ResponseWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for ResponseWrapper<T>
impl<T> Sync for ResponseWrapper<T>
impl<T> Unpin for ResponseWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for ResponseWrapper<T>where
T: UnwindSafe,
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