Enum icu_calendar::DateTimeError
source · [−]pub enum DateTimeError {
Parse(ParseIntError),
Overflow {
field: &'static str,
max: usize,
},
Underflow {
field: &'static str,
min: isize,
},
InvalidTimeZoneOffset,
OutOfRange,
MissingInput(&'static str),
}
Expand description
A list of possible error outcomes for working with various inputs to DateTime inputs and operations.
Variants
Parse(ParseIntError)
An input could not be parsed.
Overflow
An input overflowed its range.
Underflow
An input underflowed its range.
InvalidTimeZoneOffset
The time zone offset was invalid.
OutOfRange
Out of range
MissingInput(&'static str)
An input was missing.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DateTimeError
impl Send for DateTimeError
impl Sync for DateTimeError
impl Unpin for DateTimeError
impl UnwindSafe for DateTimeError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
Creates a filterable data provider with the given name for debugging. Read more