Skip to main content

ToRunnableContainer

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§