Struct PodmanRestClient

Source
pub struct PodmanRestClient { /* private fields */ }

Implementations§

Source§

impl PodmanRestClient

Source

pub async fn new(config: Config) -> Result<Self, ClientError>

Source

pub async fn new_ssh( uri: String, key_path: Option<String>, ) -> Result<PodmanRestClient, ClientError>

Available on crate feature ssh only.
Source

pub fn new_unix(path: &str) -> PodmanRestClient

Available on crate feature uds only.
Source

pub fn v5(&self) -> &dyn Client

Source

pub fn v4(&self) -> &dyn Client

Available on crate feature v4 only.

Trait Implementations§

Source§

impl Client for PodmanRestClient

Source§

fn containers(&self) -> &dyn Containers

Available on crate feature v5 only.

Actions related to containers

Source§

fn containers_compat(&self) -> &dyn ContainersCompat

Available on crate feature v5 only.

Actions related to containers for the compatibility endpoints

Source§

fn exec(&self) -> &dyn Exec

Available on crate feature v5 only.

Actions related to exec

Source§

fn exec_compat(&self) -> &dyn ExecCompat

Available on crate feature v5 only.

Actions related to exec for the compatibility endpoints

Source§

fn images(&self) -> &dyn Images

Available on crate feature v5 only.

Actions related to images

Source§

fn images_compat(&self) -> &dyn ImagesCompat

Available on crate feature v5 only.

Actions related to images for the compatibility endpoints

Source§

fn manifests(&self) -> &dyn Manifests

Available on crate feature v5 only.

Actions related to manifests

Source§

fn networks(&self) -> &dyn Networks

Available on crate feature v5 only.

Actions related to networks

Source§

fn networks_compat(&self) -> &dyn NetworksCompat

Available on crate feature v5 only.

Actions related to networks for the compatibility endpoints

Source§

fn pods(&self) -> &dyn Pods

Available on crate feature v5 only.

Actions related to pods

Source§

fn secrets(&self) -> &dyn Secrets

Available on crate feature v5 only.

Actions related to secrets

Source§

fn secrets_compat(&self) -> &dyn SecretsCompat

Available on crate feature v5 only.

Actions related to secrets for the compatibility endpoints

Source§

fn system(&self) -> &dyn System

Available on crate feature v5 only.

Actions related to Podman engine

Source§

fn system_compat(&self) -> &dyn SystemCompat

Available on crate feature v5 only.

Actions related to Podman and compatibility engines

Source§

fn volumes(&self) -> &dyn Volumes

Available on crate feature v5 only.

Actions related to volumes

Source§

fn volumes_compat(&self) -> &dyn VolumesCompat

Available on crate feature v5 only.

Actions related to volumes for the compatibility endpoints

Source§

impl Client for PodmanRestClient

Source§

fn containers(&self) -> &dyn Containers

Available on crate feature v4 only.

Actions related to containers

Source§

fn containers_compat(&self) -> &dyn ContainersCompat

Available on crate feature v4 only.

Actions related to containers for the compatibility endpoints

Source§

fn exec(&self) -> &dyn Exec

Available on crate feature v4 only.

Actions related to exec

Source§

fn exec_compat(&self) -> &dyn ExecCompat

Available on crate feature v4 only.

Actions related to exec for the compatibility endpoints

Source§

fn images(&self) -> &dyn Images

Available on crate feature v4 only.

Actions related to images

Source§

fn images_compat(&self) -> &dyn ImagesCompat

Available on crate feature v4 only.

Actions related to images for the compatibility endpoints

Source§

fn manifests(&self) -> &dyn Manifests

Available on crate feature v4 only.

Actions related to manifests

Source§

fn networks(&self) -> &dyn Networks

Available on crate feature v4 only.

Actions related to networks

Source§

fn networks_compat(&self) -> &dyn NetworksCompat

Available on crate feature v4 only.

Actions related to networks for the compatibility endpoints

Source§

fn pods(&self) -> &dyn Pods

Available on crate feature v4 only.

Actions related to pods

Source§

fn secrets(&self) -> &dyn Secrets

Available on crate feature v4 only.

Actions related to secrets

Source§

fn secrets_compat(&self) -> &dyn SecretsCompat

Available on crate feature v4 only.

Actions related to secrets for the compatibility endpoints

Source§

fn system(&self) -> &dyn System

Available on crate feature v4 only.

Actions related to Podman engine

Source§

fn system_compat(&self) -> &dyn SystemCompat

Available on crate feature v4 only.

Actions related to Podman and compatibility engines

Source§

fn volumes(&self) -> &dyn Volumes

Available on crate feature v4 only.

Actions related to volumes

Source§

fn volumes_compat(&self) -> &dyn VolumesCompat

Available on crate feature v4 only.

Actions related to volumes for the compatibility endpoints

Source§

impl Containers for PodmanRestClient

Source§

fn image_commit_libpod<'a>( &'a self, params: Option<ImageCommitLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/commit Read more
Source§

fn container_delete_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Vec<LibpodContainersRmReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/containers/{name} Read more
Source§

fn put_container_archive_libpod<'a>( &'a self, name: &'a str, params: Option<PutContainerArchiveLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/archive Read more
Source§

fn container_attach_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerAttachLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/attach Read more
Source§

fn container_changes_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerChangesLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/changes Read more
Source§

fn container_checkpoint_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerCheckpointLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/checkpoint Read more
Source§

fn container_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/exists Read more
Source§

fn container_export_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/export Read more
Source§

fn container_healthcheck_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<HealthCheckResults, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/healthcheck Read more
Source§

fn container_init_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/init Read more
Source§

fn container_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<InspectContainerData, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/json Read more
Source§

fn container_kill_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerKillLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/kill Read more
Source§

fn container_logs_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerLogsLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/logs Read more
Source§

fn container_mount_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/mount Read more
Source§

fn container_pause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/pause Read more
Source§

fn container_rename_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRenameLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/rename Read more
Source§

fn container_resize_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerResizeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/resize Read more
Source§

fn container_restart_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRestartLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/restart Read more
Source§

fn container_restore_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRestoreLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/restore Read more
Source§

fn container_start_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStartLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/start Read more
Source§

fn container_stats_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStatsLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/stats Read more
Source§

fn container_stop_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStopLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/stop Read more
Source§

fn container_top_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerTopLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ContainerTopOkBody, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/top Read more
Source§

fn container_unmount_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/unmount Read more
Source§

fn container_unpause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/unpause Read more
Source§

fn container_update_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerUpdateLibpod<'a>>, config: UpdateEntities, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/update Read more
Source§

fn container_wait_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerWaitLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<i32, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/wait Read more
Source§

fn container_create_libpod<'a>( &'a self, create: SpecGenerator, ) -> Pin<Box<dyn Future<Output = Result<ContainerCreateResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/create Read more
Source§

fn container_list_libpod<'a>( &'a self, params: Option<ContainerListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ListContainer>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/json Read more
Source§

fn container_prune_libpod<'a>( &'a self, params: Option<ContainerPruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ContainersPruneReportLibpod>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/prune Read more
Source§

fn container_show_mounted_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/showmounted Read more
Source§

fn containers_stats_all_libpod<'a>( &'a self, params: Option<ContainersStatsAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ContainerStats, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/stats Read more
Source§

fn generate_systemd_libpod<'a>( &'a self, name: &'a str, params: Option<GenerateSystemdLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/generate/{name}/systemd Read more
Source§

fn generate_kube_libpod<'a>( &'a self, params: Option<GenerateKubeLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/generate/kube Read more
Source§

fn kube_apply_libpod<'a>( &'a self, params: Option<KubeApplyLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/kube/apply Read more
Source§

fn play_kube_down_libpod<'a>( &'a self, params: Option<PlayKubeDownLibpod>, ) -> Pin<Box<dyn Future<Output = Result<PlayKubeReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/play/kube Read more
Source§

fn play_kube_libpod<'a>( &'a self, params: Option<PlayKubeLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<PlayKubeReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/play/kube Read more
Source§

impl Containers for PodmanRestClient

Source§

fn image_commit_libpod<'a>( &'a self, params: Option<ImageCommitLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/commit Read more
Source§

fn container_delete_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/containers/{name} Read more
Source§

fn put_container_archive_libpod<'a>( &'a self, name: &'a str, params: Option<PutContainerArchiveLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/archive Read more
Source§

fn container_attach_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerAttachLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/attach Read more
Source§

fn container_changes_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerChangesLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/changes Read more
Source§

fn container_checkpoint_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerCheckpointLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/checkpoint Read more
Source§

fn container_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/exists Read more
Source§

fn container_export_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/export Read more
Source§

fn container_healthcheck_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/healthcheck Read more
Source§

fn container_init_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/init Read more
Source§

fn container_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/json Read more
Source§

fn container_kill_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerKillLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/kill Read more
Source§

fn container_logs_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerLogsLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/logs Read more
Source§

fn container_mount_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/mount Read more
Source§

fn container_pause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/pause Read more
Source§

fn container_rename_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRenameLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/rename Read more
Source§

fn container_resize_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerResizeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/resize Read more
Source§

fn container_restart_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRestartLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/restart Read more
Source§

fn container_restore_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerRestoreLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/restore Read more
Source§

fn container_start_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStartLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/start Read more
Source§

fn container_stats_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStatsLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/stats Read more
Source§

fn container_stop_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerStopLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/stop Read more
Source§

fn container_top_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerTopLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/top Read more
Source§

fn container_unmount_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/unmount Read more
Source§

fn container_unpause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/unpause Read more
Source§

fn container_update_libpod<'a>( &'a self, name: &'a str, resources: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/update Read more
Source§

fn container_wait_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerWaitLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<i32, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/wait Read more
Source§

fn container_create_libpod<'a>( &'a self, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/create Read more
Source§

fn container_list_libpod<'a>( &'a self, params: Option<ContainerListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/json Read more
Source§

fn container_prune_libpod<'a>( &'a self, params: Option<ContainerPruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/prune Read more
Source§

fn container_show_mounted_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/showmounted Read more
Source§

fn containers_stats_all_libpod<'a>( &'a self, params: Option<ContainersStatsAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/stats Read more
Source§

fn generate_systemd_libpod<'a>( &'a self, name: &'a str, params: Option<GenerateSystemdLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/generate/{name}/systemd Read more
Source§

fn generate_kube_libpod<'a>( &'a self, params: Option<GenerateKubeLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/generate/kube Read more
Source§

fn kube_apply_libpod<'a>( &'a self, params: Option<KubeApplyLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/kube/apply Read more
Source§

fn play_kube_down_libpod<'a>( &'a self, params: Option<PlayKubeDownLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/play/kube Read more
Source§

fn play_kube_libpod<'a>( &'a self, params: Option<PlayKubeLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/play/kube Read more
Source§

impl ContainersCompat for PodmanRestClient

Source§

fn image_commit<'a>( &'a self, params: Option<ImageCommit<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /commit Read more
Source§

fn container_delete<'a>( &'a self, name: &'a str, params: Option<ContainerDelete>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /containers/{name} Read more
Source§

fn container_archive<'a>( &'a self, name: &'a str, params: Option<ContainerArchive<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/archive Read more
Source§

fn put_container_archive<'a>( &'a self, name: &'a str, params: Option<PutContainerArchive<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/archive Read more
Source§

fn container_attach<'a>( &'a self, name: &'a str, params: Option<ContainerAttach<'a>>, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/attach Read more
Source§

fn container_export<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/export Read more
Source§

fn container_inspect<'a>( &'a self, name: &'a str, params: Option<ContainerInspect>, ) -> Pin<Box<dyn Future<Output = Result<ContainerJson, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/json Read more
Source§

fn container_kill<'a>( &'a self, name: &'a str, params: Option<ContainerKill<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/kill Read more
Source§

fn container_logs<'a>( &'a self, name: &'a str, params: Option<ContainerLogs<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/logs Read more
Source§

fn container_pause<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/pause Read more
Source§

fn container_rename<'a>( &'a self, name: &'a str, params: Option<ContainerRename<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/rename Read more
Source§

fn container_resize<'a>( &'a self, name: &'a str, params: Option<ContainerResize>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/resize Read more
Source§

fn container_restart<'a>( &'a self, name: &'a str, params: Option<ContainerRestart>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/restart Read more
Source§

fn container_start<'a>( &'a self, name: &'a str, params: Option<ContainerStart<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/start Read more
Source§

fn container_stats<'a>( &'a self, name: &'a str, params: Option<ContainerStats>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/stats Read more
Source§

fn container_stop<'a>( &'a self, name: &'a str, params: Option<ContainerStop>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/stop Read more
Source§

fn container_top<'a>( &'a self, name: &'a str, params: Option<ContainerTop<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ContainerTopOkBody, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/{name}/top Read more
Source§

fn container_unpause<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/unpause Read more
Source§

fn container_update<'a>( &'a self, name: &'a str, resources: UpdateConfig, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/update Read more
Source§

fn container_wait<'a>( &'a self, name: &'a str, params: Option<ContainerWait<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ContainerWaitResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/wait Read more
Source§

fn container_create<'a>( &'a self, params: Option<ContainerCreate<'a>>, body: CreateContainerConfig, ) -> Pin<Box<dyn Future<Output = Result<ContainerCreateResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/create Read more
Source§

fn container_list<'a>( &'a self, params: Option<ContainerList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Container>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /containers/json Read more
Source§

fn container_prune<'a>( &'a self, params: Option<ContainerPrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ContainersPruneReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/prune Read more
Source§

fn container_archive_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerArchiveLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/containers/{name}/archive Read more
Source§

impl ContainersCompat for PodmanRestClient

Source§

fn image_commit<'a>( &'a self, params: Option<ImageCommit<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /commit Read more
Source§

fn container_delete<'a>( &'a self, name: &'a str, params: Option<ContainerDelete>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /containers/{name} Read more
Source§

fn container_archive<'a>( &'a self, name: &'a str, params: Option<ContainerArchive<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/archive Read more
Source§

fn put_container_archive<'a>( &'a self, name: &'a str, params: Option<PutContainerArchive<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/archive Read more
Source§

fn container_attach<'a>( &'a self, name: &'a str, params: Option<ContainerAttach<'a>>, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/attach Read more
Source§

fn container_export<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/export Read more
Source§

fn container_inspect<'a>( &'a self, name: &'a str, params: Option<ContainerInspect>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/json Read more
Source§

fn container_kill<'a>( &'a self, name: &'a str, params: Option<ContainerKill<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/kill Read more
Source§

fn container_logs<'a>( &'a self, name: &'a str, params: Option<ContainerLogs<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/logs Read more
Source§

fn container_pause<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/pause Read more
Source§

fn container_rename<'a>( &'a self, name: &'a str, params: Option<ContainerRename<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/rename Read more
Source§

fn container_resize<'a>( &'a self, name: &'a str, params: Option<ContainerResize>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/resize Read more
Source§

fn container_restart<'a>( &'a self, name: &'a str, params: Option<ContainerRestart>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/restart Read more
Source§

fn container_start<'a>( &'a self, name: &'a str, params: Option<ContainerStart<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/start Read more
Source§

fn container_stats<'a>( &'a self, name: &'a str, params: Option<ContainerStats>, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/stats Read more
Source§

fn container_stop<'a>( &'a self, name: &'a str, params: Option<ContainerStop>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/stop Read more
Source§

fn container_top<'a>( &'a self, name: &'a str, params: Option<ContainerTop<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/{name}/top Read more
Source§

fn container_unpause<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/unpause Read more
Source§

fn container_wait<'a>( &'a self, name: &'a str, params: Option<ContainerWait<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/wait Read more
Source§

fn container_create<'a>( &'a self, params: Option<ContainerCreate<'a>>, body: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/create Read more
Source§

fn container_list<'a>( &'a self, params: Option<ContainerList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /containers/json Read more
Source§

fn container_prune<'a>( &'a self, params: Option<ContainerPrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/prune Read more
Source§

fn container_archive_libpod<'a>( &'a self, name: &'a str, params: Option<ContainerArchiveLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/containers/{name}/archive Read more
Source§

impl Exec for PodmanRestClient

Source§

fn container_exec_libpod<'a>( &'a self, name: &'a str, control: ContainerExecLibpodBody, ) -> Pin<Box<dyn Future<Output = Result<ContainerExecLibpod201, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/containers/{name}/exec Read more
Source§

fn exec_inspect_libpod<'a>( &'a self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/exec/{id}/json Read more
Source§

fn exec_resize_libpod<'a>( &'a self, id: &'a str, params: Option<ExecResizeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/exec/{id}/resize Read more
Source§

fn exec_start_libpod<'a>( &'a self, id: &'a str, control: ExecStartLibpodBody, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/exec/{id}/start Read more
Source§

impl Exec for PodmanRestClient

Source§

fn container_exec_libpod<'a>( &'a self, name: &'a str, control: ContainerExecLibpodBody, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/containers/{name}/exec Read more
Source§

fn exec_inspect_libpod<'a>( &'a self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/exec/{id}/json Read more
Source§

fn exec_resize_libpod<'a>( &'a self, id: &'a str, params: Option<ExecResizeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/exec/{id}/resize Read more
Source§

fn exec_start_libpod<'a>( &'a self, id: &'a str, control: ExecStartLibpodBody, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/exec/{id}/start Read more
Source§

impl ExecCompat for PodmanRestClient

Source§

fn container_exec<'a>( &'a self, name: &'a str, control: ContainerExecBody, ) -> Pin<Box<dyn Future<Output = Result<ContainerExec201, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /containers/{name}/exec Read more
Source§

fn exec_inspect<'a>( &'a self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<InspectExecSession, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /exec/{id}/json Read more
Source§

fn exec_resize<'a>( &'a self, id: &'a str, params: Option<ExecResize>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /exec/{id}/resize Read more
Source§

fn exec_start<'a>( &'a self, id: &'a str, control: ExecStartBody, ) -> Pin<Box<dyn Future<Output = Result<TokioIo<Upgraded>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /exec/{id}/start Read more
Source§

impl ExecCompat for PodmanRestClient

Source§

fn container_exec<'a>( &'a self, name: &'a str, control: ContainerExecBody, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /containers/{name}/exec Read more
Source§

fn exec_inspect<'a>( &'a self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /exec/{id}/json Read more
Source§

fn exec_resize<'a>( &'a self, id: &'a str, params: Option<ExecResize>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /exec/{id}/resize Read more
Source§

fn exec_start<'a>( &'a self, id: &'a str, control: ExecStartBody, ) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /exec/{id}/start Read more
Source§

impl Images for PodmanRestClient

Source§

fn image_build_libpod<'a>( &'a self, params: Option<ImageBuildLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ImageBuildLibpod200, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/build Read more
Source§

fn image_delete_libpod<'a>( &'a self, name: &'a str, params: Option<ImageDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/images/{name} Read more
Source§

fn image_changes_libpod<'a>( &'a self, name: &'a str, params: Option<ImageChangesLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/changes Read more
Source§

fn image_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/exists Read more
Source§

fn image_get_libpod<'a>( &'a self, name: &'a str, params: Option<ImageGetLibpod<'a>>, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/get Read more
Source§

fn image_history_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<HistoryResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/history Read more
Source§

fn image_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<ImageData, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/json Read more
Source§

fn image_push_libpod<'a>( &'a self, name: &'a str, params: Option<ImagePushLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/{name}/push Read more
Source§

fn image_resolve_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/resolve Read more
Source§

fn image_tag_libpod<'a>( &'a self, name: &'a str, params: Option<ImageTagLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/{name}/tag Read more
Source§

fn image_tree_libpod<'a>( &'a self, name: &'a str, params: Option<ImageTreeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<ImageTreeReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/{name}/tree Read more
Source§

fn image_untag_libpod<'a>( &'a self, name: &'a str, params: Option<ImageUntagLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/{name}/untag Read more
Source§

fn image_export_libpod<'a>( &'a self, params: Option<ImageExportLibpod<'a>>, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/export Read more
Source§

fn image_import_libpod<'a>( &'a self, params: Option<ImageImportLibpod<'a>>, upload: String, ) -> Pin<Box<dyn Future<Output = Result<ImageImportReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/import Read more
Source§

fn image_list_libpod<'a>( &'a self, params: Option<ImageListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<LibpodImageSummary>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/json Read more
Source§

fn image_load_libpod<'a>( &'a self, upload: String, ) -> Pin<Box<dyn Future<Output = Result<ImageLoadReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/load Read more
Source§

fn image_prune_libpod<'a>( &'a self, params: Option<ImagePruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<PruneReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/prune Read more
Source§

fn image_pull_libpod<'a>( &'a self, params: Option<ImagePullLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesPullReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/pull Read more
Source§

fn image_delete_all_libpod<'a>( &'a self, params: Option<ImageDeleteAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/images/remove Read more
Source§

fn image_scp_libpod<'a>( &'a self, name: &'a str, params: Option<ImageScpLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ScpReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/images/scp/{name} Read more
Source§

fn image_search_libpod<'a>( &'a self, params: Option<ImageSearchLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<RegistrySearchResponse>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/images/search Read more
Source§

impl Images for PodmanRestClient

Source§

fn image_build_libpod<'a>( &'a self, params: Option<ImageBuildLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ImageBuildLibpod200, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/build Read more
Source§

fn image_delete_libpod<'a>( &'a self, name: &'a str, params: Option<ImageDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/images/{name} Read more
Source§

fn image_changes_libpod<'a>( &'a self, name: &'a str, params: Option<ImageChangesLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/changes Read more
Source§

fn image_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/exists Read more
Source§

fn image_get_libpod<'a>( &'a self, name: &'a str, params: Option<ImageGetLibpod<'a>>, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/get Read more
Source§

fn image_history_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/history Read more
Source§

fn image_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/json Read more
Source§

fn image_push_libpod<'a>( &'a self, name: &'a str, params: Option<ImagePushLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/{name}/push Read more
Source§

fn image_tag_libpod<'a>( &'a self, name: &'a str, params: Option<ImageTagLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/{name}/tag Read more
Source§

fn image_tree_libpod<'a>( &'a self, name: &'a str, params: Option<ImageTreeLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/{name}/tree Read more
Source§

fn image_untag_libpod<'a>( &'a self, name: &'a str, params: Option<ImageUntagLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/{name}/untag Read more
Source§

fn image_export_libpod<'a>( &'a self, params: Option<ImageExportLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/export Read more
Source§

fn image_import_libpod<'a>( &'a self, params: Option<ImageImportLibpod<'a>>, upload: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/import Read more
Source§

fn image_list_libpod<'a>( &'a self, params: Option<ImageListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/json Read more
Source§

fn image_load_libpod<'a>( &'a self, upload: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/load Read more
Source§

fn image_prune_libpod<'a>( &'a self, params: Option<ImagePruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/prune Read more
Source§

fn image_pull_libpod<'a>( &'a self, params: Option<ImagePullLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/pull Read more
Source§

fn image_delete_all_libpod<'a>( &'a self, params: Option<ImageDeleteAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/images/remove Read more
Source§

fn image_scp_libpod<'a>( &'a self, name: &'a str, params: Option<ImageScpLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/images/scp/{name} Read more
Source§

fn image_search_libpod<'a>( &'a self, params: Option<ImageSearchLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/images/search Read more
Source§

impl ImagesCompat for PodmanRestClient

Source§

fn image_build<'a>( &'a self, params: Option<ImageBuild<'a>>, input_stream: String, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /build Read more
Source§

fn image_delete<'a>( &'a self, name: &'a str, params: Option<ImageDelete>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /images/{name} Read more
Source§

fn image_get<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /images/{name}/get Read more
Source§

fn image_history<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<HistoryResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /images/{name}/history Read more
Source§

fn image_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<ImageInspect, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /images/{name}/json Read more
Source§

fn image_push<'a>( &'a self, name: &'a str, params: Option<ImagePush<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /images/{name}/push Read more
Source§

fn image_tag<'a>( &'a self, name: &'a str, params: Option<ImageTag<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /images/{name}/tag Read more
Source§

fn image_create<'a>( &'a self, params: Option<ImageCreate<'a>>, input_image: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /images/create Read more
Source§

fn image_get_all<'a>( &'a self, params: Option<ImageGetAll<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /images/get Read more
Source§

fn image_list<'a>( &'a self, params: Option<ImageList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /images/json Read more
Source§

fn image_load<'a>( &'a self, params: Option<ImageLoad>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /images/load Read more
Source§

fn image_prune<'a>( &'a self, params: Option<ImagePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /images/prune Read more
Available on crate feature v5 only.
GET /images/search Read more
Source§

impl ImagesCompat for PodmanRestClient

Source§

fn image_build<'a>( &'a self, params: Option<ImageBuild<'a>>, input_stream: String, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /build Read more
Source§

fn image_delete<'a>( &'a self, name: &'a str, params: Option<ImageDelete>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /images/{name} Read more
Source§

fn image_get<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/{name}/get Read more
Source§

fn image_history<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/{name}/history Read more
Source§

fn image_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/{name}/json Read more
Source§

fn image_push<'a>( &'a self, name: &'a str, params: Option<ImagePush<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /images/{name}/push Read more
Source§

fn image_tag<'a>( &'a self, name: &'a str, params: Option<ImageTag<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /images/{name}/tag Read more
Source§

fn image_create<'a>( &'a self, params: Option<ImageCreate<'a>>, input_image: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /images/create Read more
Source§

fn image_get_all<'a>( &'a self, params: Option<ImageGetAll<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/get Read more
Source§

fn image_list<'a>( &'a self, params: Option<ImageList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/json Read more
Source§

fn image_load<'a>( &'a self, params: Option<ImageLoad>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /images/load Read more
Source§

fn image_prune<'a>( &'a self, params: Option<ImagePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /images/prune Read more
Source§

fn image_search<'a>( &'a self, params: Option<ImageSearch<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /images/search Read more
Source§

impl Manifests for PodmanRestClient

Source§

fn manifest_delete_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/manifests/{name} Read more
Source§

fn manifest_create_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestCreateLibpod<'a>>, options: ManifestModifyOptions, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/manifests/{name} Read more
Source§

fn manifest_modify_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestModifyLibpod>, options: ManifestModifyOptions, ) -> Pin<Box<dyn Future<Output = Result<ManifestModifyReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/manifests/{name} Read more
Source§

fn manifest_add_libpod<'a>( &'a self, name: &'a str, options: ManifestAddOptions, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/manifests/{name}/add Read more
Source§

fn manifest_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/manifests/{name}/exists Read more
Source§

fn manifest_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Schema2ListPublic, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/manifests/{name}/json Read more
Source§

fn manifest_push_v_3_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestPushV3Libpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/manifests/{name}/push Read more
Source§

fn manifest_push_libpod<'a>( &'a self, name: &'a str, destination: &'a str, params: Option<ManifestPushLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/manifests/{name}/registry/{destination} Read more
Source§

impl Manifests for PodmanRestClient

Source§

fn manifest_create_libpod<'a>( &'a self, params: Option<ManifestCreateLibpod<'a>>, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/manifests Read more
Source§

fn manifest_delete_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/manifests/{name} Read more
Source§

fn manifest_modify_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestModifyLibpod>, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/manifests/{name} Read more
Source§

fn manifest_add_libpod<'a>( &'a self, name: &'a str, options: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/manifests/{name}/add Read more
Source§

fn manifest_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/manifests/{name}/exists Read more
Source§

fn manifest_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/manifests/{name}/json Read more
Source§

fn manifest_push_v_3_libpod<'a>( &'a self, name: &'a str, params: Option<ManifestPushV3Libpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/manifests/{name}/push Read more
Source§

fn manifest_push_libpod<'a>( &'a self, name: &'a str, destination: &'a str, params: Option<ManifestPushLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/manifests/{name}/registry/{destination} Read more
Source§

impl Networks for PodmanRestClient

Source§

fn network_delete_libpod<'a>( &'a self, name: &'a str, params: Option<NetworkDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Vec<NetworkRmReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/networks/{name} Read more
Source§

fn network_connect_libpod<'a>( &'a self, name: &'a str, create: NetworkConnectOptions, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/networks/{name}/connect Read more
Source§

fn network_disconnect_libpod<'a>( &'a self, name: &'a str, create: NetworkDisconnect, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/networks/{name}/disconnect Read more
Source§

fn network_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/networks/{name}/exists Read more
Source§

fn network_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<NetworkInspectReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/networks/{name}/json Read more
Source§

fn network_update_libpod<'a>( &'a self, name: &'a str, update: NetworkUpdateOptions, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/networks/{name}/update Read more
Source§

fn network_create_libpod<'a>( &'a self, create: NetworkCreateLibpod, ) -> Pin<Box<dyn Future<Output = Result<Network, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/networks/create Read more
Source§

fn network_list_libpod<'a>( &'a self, params: Option<NetworkListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Network>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/networks/json Read more
Source§

fn network_prune_libpod<'a>( &'a self, params: Option<NetworkPruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<NetworkPruneReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/networks/prune Read more
Source§

impl Networks for PodmanRestClient

Source§

fn network_delete_libpod<'a>( &'a self, name: &'a str, params: Option<NetworkDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/networks/{name} Read more
Source§

fn network_connect_libpod<'a>( &'a self, name: &'a str, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/networks/{name}/connect Read more
Source§

fn network_disconnect_libpod<'a>( &'a self, name: &'a str, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/networks/{name}/disconnect Read more
Source§

fn network_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/networks/{name}/exists Read more
Source§

fn network_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/networks/{name}/json Read more
Source§

fn network_update_libpod<'a>( &'a self, name: &'a str, update: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/networks/{name}/update Read more
Source§

fn network_create_libpod<'a>( &'a self, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/networks/create Read more
Source§

fn network_list_libpod<'a>( &'a self, params: Option<NetworkListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/networks/json Read more
Source§

fn network_prune_libpod<'a>( &'a self, params: Option<NetworkPruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/networks/prune Read more
Source§

impl NetworksCompat for PodmanRestClient

Source§

fn network_list<'a>( &'a self, params: Option<NetworkList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<NetworkResource>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /networks Read more
Source§

fn network_delete<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /networks/{name} Read more
Source§

fn network_inspect<'a>( &'a self, name: &'a str, params: Option<NetworkInspect<'a>>, ) -> Pin<Box<dyn Future<Output = Result<NetworkResource, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /networks/{name} Read more
Source§

fn network_connect<'a>( &'a self, name: &'a str, create: NetworkConnect, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /networks/{name}/connect Read more
Source§

fn network_disconnect<'a>( &'a self, name: &'a str, create: NetworkDisconnect, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /networks/{name}/disconnect Read more
Source§

fn network_create<'a>( &'a self, create: NetworkCreateRequest, ) -> Pin<Box<dyn Future<Output = Result<NetworkCreate201, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /networks/create Read more
Source§

fn network_prune<'a>( &'a self, params: Option<NetworkPrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<NetworkPrune200, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /networks/prune Read more
Source§

impl NetworksCompat for PodmanRestClient

Source§

fn network_list<'a>( &'a self, params: Option<NetworkList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /networks Read more
Source§

fn network_delete<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /networks/{name} Read more
Source§

fn network_inspect<'a>( &'a self, name: &'a str, params: Option<NetworkInspect<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /networks/{name} Read more
Source§

fn network_connect<'a>( &'a self, name: &'a str, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /networks/{name}/connect Read more
Source§

fn network_disconnect<'a>( &'a self, name: &'a str, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /networks/{name}/disconnect Read more
Source§

fn network_create<'a>( &'a self, create: (), ) -> Pin<Box<dyn Future<Output = Result<NetworkCreate201, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /networks/create Read more
Source§

fn network_prune<'a>( &'a self, params: Option<NetworkPrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<NetworkPrune200, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /networks/prune Read more
Source§

impl Pods for PodmanRestClient

Source§

fn pod_delete_libpod<'a>( &'a self, name: &'a str, params: Option<PodDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<PodRmReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/pods/{name} Read more
Source§

fn pod_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/pods/{name}/exists Read more
Source§

fn pod_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<InspectPodData, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/pods/{name}/json Read more
Source§

fn pod_kill_libpod<'a>( &'a self, name: &'a str, params: Option<PodKillLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<PodKillReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/kill Read more
Source§

fn pod_pause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PodPauseReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/pause Read more
Source§

fn pod_restart_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PodRestartReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/restart Read more
Source§

fn pod_start_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PodStartReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/start Read more
Source§

fn pod_stop_libpod<'a>( &'a self, name: &'a str, params: Option<PodStopLibpod>, ) -> Pin<Box<dyn Future<Output = Result<PodStopReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/stop Read more
Source§

fn pod_top_libpod<'a>( &'a self, name: &'a str, params: Option<PodTopLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<PodTopOkBody, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/pods/{name}/top Read more
Source§

fn pod_unpause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PodUnpauseReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/{name}/unpause Read more
Source§

fn pod_create_libpod<'a>( &'a self, create: PodSpecGenerator, ) -> Pin<Box<dyn Future<Output = Result<IdResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/create Read more
Source§

fn pod_list_libpod<'a>( &'a self, params: Option<PodListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ListPodsReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/pods/json Read more
Source§

fn pod_prune_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<PodPruneReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/pods/prune Read more
Source§

fn pod_stats_all_libpod<'a>( &'a self, params: Option<PodStatsAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<PodStatsReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/pods/stats Read more
Source§

impl Pods for PodmanRestClient

Source§

fn pod_delete_libpod<'a>( &'a self, name: &'a str, params: Option<PodDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/pods/{name} Read more
Source§

fn pod_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/pods/{name}/exists Read more
Source§

fn pod_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/pods/{name}/json Read more
Source§

fn pod_kill_libpod<'a>( &'a self, name: &'a str, params: Option<PodKillLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/kill Read more
Source§

fn pod_pause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/pause Read more
Source§

fn pod_restart_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/restart Read more
Source§

fn pod_start_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/start Read more
Source§

fn pod_stop_libpod<'a>( &'a self, name: &'a str, params: Option<PodStopLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/stop Read more
Source§

fn pod_top_libpod<'a>( &'a self, name: &'a str, params: Option<PodTopLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/pods/{name}/top Read more
Source§

fn pod_unpause_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/{name}/unpause Read more
Source§

fn pod_create_libpod<'a>( &'a self, create: Value, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/create Read more
Source§

fn pod_list_libpod<'a>( &'a self, params: Option<PodListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/pods/json Read more
Source§

fn pod_prune_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/pods/prune Read more
Source§

fn pod_stats_all_libpod<'a>( &'a self, params: Option<PodStatsAllLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/pods/stats Read more
Source§

impl Secrets for PodmanRestClient

Source§

fn secret_delete_libpod<'a>( &'a self, name: &'a str, params: Option<SecretDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/secrets/{name} Read more
Source§

fn secret_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/secrets/{name}/exists Read more
Source§

fn secret_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<SecretInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<SecretInfoReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/secrets/{name}/json Read more
Source§

fn secret_create_libpod<'a>( &'a self, params: Option<SecretCreateLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<SecretCreateResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/secrets/create Read more
Source§

fn secret_list_libpod<'a>( &'a self, params: Option<SecretListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<SecretInfoReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/secrets/json Read more
Source§

impl Secrets for PodmanRestClient

Source§

fn secret_delete_libpod<'a>( &'a self, name: &'a str, params: Option<SecretDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/secrets/{name} Read more
Source§

fn secret_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/secrets/{name}/exists Read more
Source§

fn secret_inspect_libpod<'a>( &'a self, name: &'a str, params: Option<SecretInspectLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/secrets/{name}/json Read more
Source§

fn secret_create_libpod<'a>( &'a self, params: Option<SecretCreateLibpod<'a>>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/secrets/create Read more
Source§

fn secret_list_libpod<'a>( &'a self, params: Option<SecretListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/secrets/json Read more
Source§

impl SecretsCompat for PodmanRestClient

Source§

fn secret_list<'a>( &'a self, params: Option<SecretList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<SecretInfoReportCompat>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /secrets Read more
Source§

fn secret_delete<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /secrets/{name} Read more
Source§

fn secret_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<SecretInfoReportCompat, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /secrets/{name} Read more
Source§

fn secret_create<'a>( &'a self, create: SecretCreate, ) -> Pin<Box<dyn Future<Output = Result<SecretCreateResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /secrets/create Read more
Source§

impl SecretsCompat for PodmanRestClient

Source§

fn secret_list<'a>( &'a self, params: Option<SecretList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /secrets Read more
Source§

fn secret_delete<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /secrets/{name} Read more
Source§

fn secret_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /secrets/{name} Read more
Source§

fn secret_create<'a>( &'a self, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /secrets/create Read more
Source§

impl System for PodmanRestClient

Source§

fn system_events_libpod<'a>( &'a self, params: Option<SystemEventsLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/events Read more
Source§

fn system_info_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<LibpodInfo, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/info Read more
Source§

fn system_data_usage_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/system/df Read more
Source§

fn system_prune_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemPruneReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/system/prune Read more
Source§

fn system_version_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/version Read more
Source§

impl System for PodmanRestClient

Source§

fn system_events_libpod<'a>( &'a self, params: Option<SystemEventsLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/events Read more
Source§

fn system_info_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/info Read more
Source§

fn system_data_usage_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/system/df Read more
Source§

fn system_prune_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/system/prune Read more
Source§

fn system_version_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/version Read more
Source§

impl SystemCompat for PodmanRestClient

Source§

fn system_auth<'a>( &'a self, auth_config: AuthConfig, ) -> Pin<Box<dyn Future<Output = Result<AuthReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /auth Read more
Source§

fn system_events<'a>( &'a self, params: Option<SystemEvents<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /events Read more
Source§

fn system_info<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /info Read more
Source§

fn system_ping<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/_ping Read more
Source§

fn system_data_usage<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /system/df Read more
Source§

fn system_version<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /version Read more
Source§

impl SystemCompat for PodmanRestClient

Source§

fn system_auth<'a>( &'a self, auth_config: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /auth Read more
Source§

fn system_events<'a>( &'a self, params: Option<SystemEvents<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /events Read more
Source§

fn system_info<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /info Read more
Source§

fn system_ping<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/_ping Read more
Source§

fn system_data_usage<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /system/df Read more
Source§

fn system_version<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /version Read more
Source§

impl Volumes for PodmanRestClient

Source§

fn volume_delete_libpod<'a>( &'a self, name: &'a str, params: Option<VolumeDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /libpod/volumes/{name} Read more
Source§

fn volume_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/volumes/{name}/exists Read more
Source§

fn volume_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<VolumeConfigResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/volumes/{name}/json Read more
Source§

fn volume_create_libpod<'a>( &'a self, create: VolumeCreateOptions, ) -> Pin<Box<dyn Future<Output = Result<VolumeConfigResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/volumes/create Read more
Source§

fn volume_list_libpod<'a>( &'a self, params: Option<VolumeListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<VolumeConfigResponse>, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /libpod/volumes/json Read more
Source§

fn volume_prune_libpod<'a>( &'a self, params: Option<VolumePruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<PruneReport>, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /libpod/volumes/prune Read more
Source§

impl Volumes for PodmanRestClient

Source§

fn volume_delete_libpod<'a>( &'a self, name: &'a str, params: Option<VolumeDeleteLibpod>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /libpod/volumes/{name} Read more
Source§

fn volume_exists_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/volumes/{name}/exists Read more
Source§

fn volume_inspect_libpod<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/volumes/{name}/json Read more
Source§

fn volume_create_libpod<'a>( &'a self, create: VolumeCreateOptions, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/volumes/create Read more
Source§

fn volume_list_libpod<'a>( &'a self, params: Option<VolumeListLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /libpod/volumes/json Read more
Source§

fn volume_prune_libpod<'a>( &'a self, params: Option<VolumePruneLibpod<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<()>, Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /libpod/volumes/prune Read more
Source§

impl VolumesCompat for PodmanRestClient

Source§

fn volume_list<'a>( &'a self, params: Option<VolumeList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<ListResponse, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /volumes Read more
Source§

fn volume_delete<'a>( &'a self, name: &'a str, params: Option<VolumeDelete>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v5 only.
DELETE /volumes/{name} Read more
Source§

fn volume_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<Volume, Error>> + Send + 'a>>

Available on crate feature v5 only.
GET /volumes/{name} Read more
Source§

fn volume_create<'a>( &'a self, create: VolumeCreate, ) -> Pin<Box<dyn Future<Output = Result<Volume, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /volumes/create Read more
Source§

fn volume_prune<'a>( &'a self, params: Option<VolumePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<VolumesPruneReport, Error>> + Send + 'a>>

Available on crate feature v5 only.
POST /volumes/prune Read more
Source§

impl VolumesCompat for PodmanRestClient

Source§

fn volume_list<'a>( &'a self, params: Option<VolumeList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /volumes Read more
Source§

fn volume_delete<'a>( &'a self, name: &'a str, params: Option<VolumeDelete>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
DELETE /volumes/{name} Read more
Source§

fn volume_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
GET /volumes/{name} Read more
Source§

fn volume_create<'a>( &'a self, create: (), ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /volumes/create Read more
Source§

fn volume_prune<'a>( &'a self, params: Option<VolumePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

Available on crate feature v4 only.
POST /volumes/prune Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,