pub trait Merge {
// Required method
fn merge(&mut self, prev: &Self) -> Result<(), MergeConfigError>;
}
Expand description
The Merge
trait provides a method for merging configuration down through each level.
A module configuration should implement this trait for setting its configuration throughout each level.
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.