pub trait Component {
type Impl: Send + Sync;
type Builder: TypedBuilder<Self::Impl>;
// Required method
fn builder() -> Self::Builder;
}Expand description
Allows CatalogBuilder::add() to accept types with associated builder
Required Associated Types§
Required Methods§
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.