Enum icu_datetime::DateTimeFormatError [−][src]
pub enum DateTimeFormatError { Pattern(Error), Format(Error), DataProvider(DataError), MissingInputField, Skeleton(SkeletonError), UnsupportedField(FieldSymbol), }
Expand description
A list of possible error outcomes for the DateTimeFormat
struct.
Variants
An error originating from parsing a pattern.
An error originating from the Write
trait.
Tuple Fields of Format
0: Error
An error originating inside of the DataProvider
.
Tuple Fields of DataProvider
0: DataError
An error originating from a missing field in datetime input. TODO: How can we return which field was missing?
An error originating from skeleton matching.
An error originating from an unsupported field in a datetime format.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DateTimeFormatError
impl Send for DateTimeFormatError
impl Sync for DateTimeFormatError
impl Unpin for DateTimeFormatError
impl UnwindSafe for DateTimeFormatError
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.