pub trait AsConfig {
// Required method
fn to_config(self) -> Config;
}Expand description
If your type can be converted to Config, you should implement the AsConfig trait
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".