pub struct ProductOSRequestClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for ProductOSRequestClient
impl Clone for ProductOSRequestClient
Source§fn clone(&self) -> ProductOSRequestClient
fn clone(&self) -> ProductOSRequestClient
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 ProductOSClient<BodyBytes, BodyBytes> for ProductOSRequestClient
impl ProductOSClient<BodyBytes, BodyBytes> for ProductOSRequestClient
fn build(&mut self, requester: &ProductOSRequester)
fn new_request( &self, method: Method, url: String, ) -> ProductOSRequest<BodyBytes>
fn request<'life0, 'async_trait>(
&'life0 self,
r: ProductOSRequest<BodyBytes>,
) -> Pin<Box<dyn Future<Output = Result<ProductOSResponse<BodyBytes>, ProductOSRequestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_simple<'life0, 'life1, 'async_trait>(
&'life0 self,
method: Method,
url: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<ProductOSResponse<BodyBytes>, ProductOSRequestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn request_raw<'life0, 'async_trait>(
&'life0 self,
r: Request<BodyBytes>,
) -> Pin<Box<dyn Future<Output = Result<ProductOSResponse<BodyBytes>, ProductOSRequestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn text<'life0, 'async_trait>(
&'life0 self,
r: ProductOSResponse<BodyBytes>,
) -> Pin<Box<dyn Future<Output = Result<String, ProductOSRequestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn bytes<'life0, 'async_trait>(
&'life0 self,
r: ProductOSResponse<BodyBytes>,
) -> Pin<Box<dyn Future<Output = Result<Bytes, ProductOSRequestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ProductOSRequestClient
impl !RefUnwindSafe for ProductOSRequestClient
impl Send for ProductOSRequestClient
impl Sync for ProductOSRequestClient
impl Unpin for ProductOSRequestClient
impl !UnwindSafe for ProductOSRequestClient
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)