pub trait FromValue: Sized {
const EXPECTED: &'static str;
// Required method
fn from_value(value: Value) -> Option<Self>;
}Expand description
One returned value.
Required Associated Constants§
Required Methods§
fn from_value(value: Value) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".