pub trait TryApply<V, K, D>: Container<V>where
K: Kind + ?Sized,
D: Dedup + ?Sized,{
// Required method
fn try_apply(&mut self, value: V) -> Result<(), Error>;
}
Expand description
Applying a value to a field::Container
according to a parsing
Kind
and Dedup
lication strategy.
Required Methods§
sourcefn try_apply(&mut self, value: V) -> Result<(), Error>
fn try_apply(&mut self, value: V) -> Result<(), Error>
Applies the provided value
to this field::Container
.
Errors
If this field::Container
refuses to apply the value
according
to the Dedup
lication strategy.