Trait podman_rest_client::api_common::config::ClientConfig
source · pub trait ClientConfig: Send + Sync {
// Required methods
fn get_base_path(&self) -> &String;
fn get_user_agent(&self) -> &Option<String>;
fn request<'a>(
&self,
request: Request<String>,
) -> Pin<Box<dyn Future<Output = Result<Response<Incoming>, HyperError>> + Send + 'a>>;
// Provided method
fn req_builder(&self, method: &str) -> Result<Builder, Error> { ... }
}