Skip to main content

ContainerExecMutator

Trait ContainerExecMutator 

Source
pub trait ContainerExecMutator: Send + Sync {
    // Required method
    fn exec_container<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        host: &'life1 HostRecord,
        request: &'life2 ContainerExecRequest,
        cancellation: &'life3 CancellationToken,
    ) -> Pin<Box<dyn Future<Output = MutationResult<ContainerExecReceipt>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

Product-neutral non-interactive Docker exec driver.

Required Methods§

Source

fn exec_container<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, host: &'life1 HostRecord, request: &'life2 ContainerExecRequest, cancellation: &'life3 CancellationToken, ) -> Pin<Box<dyn Future<Output = MutationResult<ContainerExecReceipt>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Executes one direct argv command without a shell or TTY.

Implementors§