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,
}Expand description
An error returned when interpolating a pattern.
Type parameters
K: A key for the replacement provider.
Variants
InvalidPlaceholder(K::Err)Tuple Fields of InvalidPlaceholder
0: K::ErrTrait Implementations
impl<K> From<InterpolatorError<K>> for PatternError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
impl<K> From<InterpolatorError<K>> for PatternError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq,
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.