Enum icu_pattern::PatternError [−][src]
pub enum PatternError<K> where
K: Debug + FromStr + PartialEq,
K::Err: Debug + PartialEq, {
Interpolator(InterpolatorError<K>),
Format(Error),
}
Expand description
Variants
Interpolator(InterpolatorError<K>)
Tuple Fields of Interpolator
0: InterpolatorError<K>
Format(Error)
Tuple Fields of Format
0: Error
Trait 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 !=
.