pub trait ConvertValue {
// Required method
fn convert_value(&self, value: &str) -> Result<Value>;
}Expand description
Turning a config.toml string into a wire value.
A trait because Type lives in endpoint-libs now, so an inherent impl is
not ours to write.
Required Methods§
fn convert_value(&self, value: &str) -> Result<Value>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".