Enum icu_datetime::DateTimeFormatError[][src]

pub enum DateTimeFormatError {
    Pattern(Error),
    Format(Error),
    DataProvider(DataError),
    MissingInputField,
    Skeleton(SkeletonError),
    UnsupportedField(FieldSymbol),
}

A list of possible error outcomes for the DateTimeFormat struct.

Variants

Pattern(Error)

An error originating from parsing a pattern.

Format(Error)

An error originating from the Write trait.

DataProvider(DataError)

An error originating inside of the DataProvider.

MissingInputField

An error originating from a missing field in datetime input. TODO: How can we return which field was missing?

Skeleton(SkeletonError)

An error originating from skeleton matching.

UnsupportedField(FieldSymbol)

An error originating from an unsupported field in a datetime format.

Trait Implementations

impl Debug for DateTimeFormatError[src]

impl From<Error> for DateTimeFormatError[src]

impl From<Error> for DateTimeFormatError[src]

Auto Trait Implementations

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, 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.