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)
MissingPlaceholder(K)
UnclosedPlaceholder
UnclosedQuotedLiteral

Trait Implementations

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> 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: PartialEq> PartialEq<InterpolatorError<K>> for InterpolatorError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq,
    K::Err: 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> Send for InterpolatorError<K> where
    K: Send,
    <K as FromStr>::Err: Send

impl<K> Sync for InterpolatorError<K> where
    K: Sync,
    <K as FromStr>::Err: Sync

impl<K> Unpin for InterpolatorError<K> where
    K: Unpin,
    <K as FromStr>::Err: Unpin

impl<K> UnwindSafe for InterpolatorError<K> where
    K: UnwindSafe,
    <K as FromStr>::Err: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.