Trait ExecCompatApi
Source pub trait ExecCompatApi: Send + Sync {
// Required methods
fn container_exec(
&self,
name: &str,
control: Option<ContainerExecRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn exec_inspect(
&self,
id: &str,
) -> Pin<Box<dyn Future<Output = Result<InspectExecSession, Error>> + Send>>;
fn exec_resize(
&self,
id: &str,
h: Option<i32>,
w: Option<i32>,
running: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn exec_start(
&self,
id: &str,
control: Option<ExecStartRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
}