// SPDX-FileCopyrightText: OpenTalk GmbH <mail@opentalk.eu>
//// SPDX-License-Identifier: MIT OR Apache-2.0
usehttp_request_derive::HttpRequest;/// A client that can execute [`http_request_derive::HttpRequest`]s.
#[async_trait::async_trait(?Send)]pubtraitClient{/// An error that can be returned during request execution by the [`Client`].
typeClientError:std::error::Error;/// Execute a [`http_request_derive::HttpRequest`], and read the typed response.
async fnexecute<R: HttpRequest +Send>(&self,
request: R,
)->Result<R::Response, Self::ClientError>;}