[−][src]Enum two_timer::TimeError
A simple categorization of things that could go wrong.
Every error provides a descriptive string that can be displayed.
Variants
Parse(String)
The time expression cannot be parsed by the available grammar.
Misordered(String)
The time expression consists of a time range and the end of the range is before the beginning.
ImpossibleDate(String)
The time expression specifies an impossible date, such as the 31st of September.
Weekday(String)
The time expression specifies a weekday different from that required by the rest of the expression, such as Wednesday, May 5, 1969, which was a Tuesday.
NoPayPeriod(String)
The time expression refers to a pay period, but the starting date of a reference pay period has not been provided, so the pay period is undefined.
Methods
impl TimeError
[src]
Trait Implementations
impl Clone for TimeError
[src]
fn clone(&self) -> TimeError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TimeError
[src]
Auto Trait Implementations
impl Send for TimeError
impl Unpin for TimeError
impl Sync for TimeError
impl UnwindSafe for TimeError
impl RefUnwindSafe for TimeError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,