pub trait WasmtimeOptionValue: Sized {
const VAL_HELP: &'static str;
// Required methods
fn parse(val: Option<&str>) -> Result<Self>;
fn display(&self, f: &mut Formatter<'_>) -> Result;
}Expand description
A helper trait for all types of options that can be parsed. This is what
actually parses the =val in key=val
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".