pub trait MultiValuesConstructor<T>: MultiValuesConstructorSealed<T> {
// Required method
fn from_vec(values: Vec<T>) -> Self;
}Expand description
Internal trait used to create MultiValues from Vec<T>.
This trait backs MultiValues::new<T>(); downstream code should call the
inherent method instead of implementing or naming this trait directly.
Required Methods§
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.