pub trait TryFromValue<T>: Sized {
// Required method
fn try_from_value(value: Value<T>) -> Result<Self, Error>;
}Expand description
A trait for types which can be unwrapped from a Value.
Required Methods§
fn try_from_value(value: Value<T>) -> Result<Self, Error>
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.