Trait ToRunnableContainer

Source
pub trait ToRunnableContainer {
    // Required method
    fn to_runnable(
        &self,
        builder: RunnableContainerBuilder,
    ) -> RunnableContainer;
}
Expand description

Provide an RunnableContainer and configure ports

A container image should implement this trait. See crate::images for usage.

Required Methods§

Source

fn to_runnable(&self, builder: RunnableContainerBuilder) -> RunnableContainer

Build the runnable container

Implementors§