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
async fn call<Req: Serialize + Send, Res: DeserializeOwned, Err: DeserializeOwned>( &self, path: &str, req: Req, ) -> Result<ApiResult<Res, Err>, Self::Error>
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