pub trait DecodeConfig: Sized {
// Required method
fn decode(value: &JsValue) -> ApiResult<Self>;
}Expand description
Decode a config from a JsValue, rejecting unknown keys.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".