pub trait FromSampledValuewhere
Self: Sized,{
// Required method
fn from_sampled_value(value: SampledValue) -> Result<Self, UncertainError>;
}Required Methods§
Sourcefn from_sampled_value(value: SampledValue) -> Result<Self, UncertainError>
fn from_sampled_value(value: SampledValue) -> Result<Self, UncertainError>
Attempts to convert an internal SampledValue back into this type.
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.