pub trait ImageBuilder: Sized {
// Required methods
fn with_sample_data(self) -> Self;
fn with_variation(self, variation: impl AsRef<str>) -> Self;
fn with_version(self, version: impl AsRef<str>) -> Self;
fn with_repository(self, repository: impl ImageRepository) -> Self;
}Required Methods§
fn with_sample_data(self) -> Self
fn with_variation(self, variation: impl AsRef<str>) -> Self
fn with_version(self, version: impl AsRef<str>) -> Self
fn with_repository(self, repository: impl ImageRepository) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.