Struct playit_agent_core::api::http_client::HttpClient
source · pub struct HttpClient { /* private fields */ }Implementations§
Trait Implementations§
source§impl PlayitHttpClient for HttpClient
impl PlayitHttpClient for HttpClient
type Error = HttpClientError
fn call<'life0, 'life1, 'async_trait, Req, Res, Err>(
&'life0 self,
path: &'life1 str,
req: Req,
) -> Pin<Box<dyn Future<Output = Result<ApiResult<Res, Err>, Self::Error>> + Send + 'async_trait>>where
Req: 'async_trait + Serialize + Send,
Res: 'async_trait + DeserializeOwned,
Err: 'async_trait + DeserializeOwned,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for HttpClient
impl !RefUnwindSafe for HttpClient
impl Send for HttpClient
impl Sync for HttpClient
impl Unpin for HttpClient
impl !UnwindSafe for HttpClient
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