pub trait ContainerFactory {
type Container: Container;
// Required method
fn create_container(&self) -> Self::Container;
}Required Associated Types§
Required Methods§
fn create_container(&self) -> Self::Container
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".