pub trait FromTracedValue<'a> {
type Output: Borrow<Self> + 'a;
// Required method
fn from_value(value: &'a TracedValue) -> Option<Self::Output>;
}
Expand description
Fallible conversion from a TracedValue
reference.
Required Associated Types§
Required Methods§
Sourcefn from_value(value: &'a TracedValue) -> Option<Self::Output>
fn from_value(value: &'a TracedValue) -> Option<Self::Output>
Performs the conversion.
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.