pub trait TryApplySelf<V, K: Kind + ?Sized, D: Dedup + ?Sized>: TryApply<V, K, D> {
    // Required method
    fn try_apply_self(&mut self, another: Self) -> Result<()>;
}
Expand description

Applying a value to a field::Container according to a parsing Kind and Deduplication strategy from another field::Container.

Required Methods§

source

fn try_apply_self(&mut self, another: Self) -> Result<()>

Applies the value extracted from another field::Container to this field::Container.

Errors

If this field::Container refuses to apply the extracted value according to the Deduplication strategy.

Implementations on Foreign Types§

source§

impl<K, V, D> TryApplySelf<(K, V), Map, D> for BTreeMap<K, V>where D: Dedup + ?Sized, Self: TryApply<(K, V), Map, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, K, D> TryApplySelf<V, K, D> for Option<V>where K: Kind + Single + ?Sized, D: Dedup + ?Sized, Self: TryApply<V, K, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, S, D> TryApplySelf<V, Nested, D> for HashSet<V, S>where D: Dedup + ?Sized, S: BuildHasher, Self: TryApply<V, Nested, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<K, V, D, S> TryApplySelf<(K, V), Map, D> for HashMap<K, V, S>where D: Dedup + ?Sized, S: BuildHasher, Self: TryApply<(K, V), Map, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, D> TryApplySelf<V, Value, D> for BTreeSet<V>where D: Dedup + ?Sized, Self: TryApply<V, Value, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, S, D> TryApplySelf<V, Value, D> for HashSet<V, S>where D: Dedup + ?Sized, S: BuildHasher, Self: TryApply<V, Value, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, D> TryApplySelf<V, Value, D> for Vec<V>where D: Dedup + ?Sized, Self: TryApply<V, Value, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, D> TryApplySelf<V, Nested, D> for Vec<V>where D: Dedup + ?Sized, Self: TryApply<V, Nested, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

source§

impl<V, D> TryApplySelf<V, Nested, D> for BTreeSet<V>where D: Dedup + ?Sized, Self: TryApply<V, Nested, D>,

source§

fn try_apply_self(&mut self, another: Self) -> Result<()>

Implementors§

source§

impl<V, K, D> TryApplySelf<V, K, D> for Required<V>where K: Kind + Single + ?Sized, D: Dedup + ?Sized, Self: TryApply<V, K, D>,