pub trait FromValues<'a> {
type Error: Error;
type Types: IntoIterator<Item = Type>;
// Required methods
fn from_values(args: &'a [Value]) -> Result<Self, Self::Error>
where Self: Sized;
fn static_types() -> Self::Types;
}
Required Associated Types§
Required Methods§
fn from_values(args: &'a [Value]) -> Result<Self, Self::Error>where
Self: Sized,
fn static_types() -> Self::Types
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.