Enum icu_pattern::InterpolatorError [−][src]
pub enum InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq, { InvalidPlaceholder(K::Err), MissingPlaceholder(K), UnclosedPlaceholder, UnclosedQuotedLiteral, }
An error returned when interpolating a pattern.
Type parameters
K
: A key for the replacement provider.
Variants
InvalidPlaceholder(K::Err)
Trait Implementations
impl<K: Debug> Debug for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
K::Err: Debug,
[src]
impl<K: Debug> Debug for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
K::Err: Debug,
[src]impl<K> Display for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]
impl<K> Display for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]impl<K> Error for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]
impl<K> Error for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]impl<K> From<InterpolatorError<K>> for PatternError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]
impl<K> From<InterpolatorError<K>> for PatternError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]fn from(err: InterpolatorError<K>) -> Self
[src]
impl<K: PartialEq> PartialEq<InterpolatorError<K>> for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
K::Err: PartialEq,
[src]
impl<K: PartialEq> PartialEq<InterpolatorError<K>> for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
K::Err: PartialEq,
[src]fn eq(&self, other: &InterpolatorError<K>) -> bool
[src]
fn ne(&self, other: &InterpolatorError<K>) -> bool
[src]
impl<K> StructuralPartialEq for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]
impl<K> StructuralPartialEq for InterpolatorError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
[src]Auto Trait Implementations
impl<K> RefUnwindSafe for InterpolatorError<K> where
K: RefUnwindSafe,
<K as FromStr>::Err: RefUnwindSafe,
impl<K> RefUnwindSafe for InterpolatorError<K> where
K: RefUnwindSafe,
<K as FromStr>::Err: RefUnwindSafe,
impl<K> UnwindSafe for InterpolatorError<K> where
K: UnwindSafe,
<K as FromStr>::Err: UnwindSafe,
impl<K> UnwindSafe for InterpolatorError<K> where
K: UnwindSafe,
<K as FromStr>::Err: UnwindSafe,