Enum icu_pattern::PatternError[][src]

pub enum PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
{ Interpolator(InterpolatorError<K>), Format(Error), }

An error returned from a pattern.

Type parameters

  • K: A key for the replacement provider.

Variants

Interpolator(InterpolatorError<K>)
Format(Error)

Trait Implementations

impl<K: Debug> Debug for PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
[src]

impl<K> Display for PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
[src]

impl<K> Error for PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
[src]

impl<K> From<Error> 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]

impl<K: PartialEq> PartialEq<PatternError<K>> for PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
[src]

impl<K> StructuralPartialEq for PatternError<K> where
    K: Debug + FromStr + PartialEq,
    K::Err: Debug + PartialEq
[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for PatternError<K> where
    K: RefUnwindSafe,
    <K as FromStr>::Err: RefUnwindSafe

impl<K> Send for PatternError<K> where
    K: Send,
    <K as FromStr>::Err: Send

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

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

impl<K> UnwindSafe for PatternError<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.