pub trait CommandResult {
type Result: DeserializeOwned + Debug;
// Provided method
fn result_from_value(result: Value) -> Result<Self::Result> { ... }
}Required Associated Types§
type Result: DeserializeOwned + Debug
Provided Methods§
fn result_from_value(result: Value) -> Result<Self::Result>
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.