pub trait ConfigType:
Into<ConfigVal>
+ Clone
+ Sized {
// Required methods
fn from_val(val: ConfigVal) -> Self;
fn parse(s: &str) -> Result<Self, String>;
}
Expand description
A type usable as a Config.
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.