pub trait MultiValuesAddArg<'a>: MultiValuesAddArgSealed {
type Item: 'a + Clone;
// Required method
fn apply_add(self, target: &mut MultiValues) -> ValueResult<()>;
}Expand description
Internal dispatch trait for MultiValues::add<S>().
Implementations route T, Vec<T>, and &[T] to the matching add path.
Required Associated Types§
Required Methods§
Sourcefn apply_add(self, target: &mut MultiValues) -> ValueResult<()>
fn apply_add(self, target: &mut MultiValues) -> ValueResult<()>
Applies this add argument to target.
§Returns
Returns Ok(()) when the target is updated, or a ValueError from the
selected add path.