pub trait MultiValuesGetter<T>: MultiValuesGetterSealed<T> {
// Required method
fn get_values(&self) -> ValueResult<Vec<T>>;
}Expand description
Internal trait used to extract multiple values from MultiValues.
This trait backs MultiValues::get<T>(); downstream code should call the
inherent method instead of implementing or naming this trait directly.
Required Methods§
Sourcefn get_values(&self) -> ValueResult<Vec<T>>
fn get_values(&self) -> ValueResult<Vec<T>>
Gets all stored values as Vec<T>.
§Returns
Returns a cloned vector when the stored variant matches T, or a
ValueError describing the mismatch.