pub trait LeafConfigListCompatible<Configurer, ConfigType>where
Configurer: ConfigureElements<ConfigType>,{
// Required methods
fn configure(
data: &LeafConfigData,
configurer: &mut OpenLeafElement<'_, Configurer, ConfigType>,
);
fn configure_open(
data: &LeafConfigData,
configurer: OpenElement<'_, Configurer, ConfigType>,
);
}Expand description
Type-level dispatch for replaying LeafConfigData against open elements.
Implemented automatically for LeafConfigList chains. Custom implementations are
rarely needed; build a LeafConfigList instead.
Required Methods§
Sourcefn configure(
data: &LeafConfigData,
configurer: &mut OpenLeafElement<'_, Configurer, ConfigType>,
)
fn configure( data: &LeafConfigData, configurer: &mut OpenLeafElement<'_, Configurer, ConfigType>, )
Applies a leaf config blob to an open leaf element.
Sourcefn configure_open(
data: &LeafConfigData,
configurer: OpenElement<'_, Configurer, ConfigType>,
)
fn configure_open( data: &LeafConfigData, configurer: OpenElement<'_, Configurer, ConfigType>, )
Applies a leaf config blob to an open element (consuming it).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".