[−][src]Enum clokwerk::Interval
Variants
Seconds(u32)
The next multiple of n
seconds since the start of the Unix epoch
Minutes(u32)
The next multiple of n
minutes since the start of the day
Hours(u32)
The next multiple of n
hours since the start of the day
Days(u32)
The next multiple of n
days since the start of the start of the era
Weeks(u32)
The next multiple of n
week since the start of the start of the era
Monday
Every Monday
Tuesday
Every Tuesday
Wednesday
Every Wednesday
Thursday
Every Thursday
Friday
Every Friday
Saturday
Every Saturday
Sunday
Every Sunday
Weekday
Every weekday (Monday through Friday)
Trait Implementations
impl Clone for Interval
[src]
fn clone(&self) -> Interval
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Interval> for Interval
[src]
impl Copy for Interval
[src]
impl Eq for Interval
[src]
impl Debug for Interval
[src]
Auto Trait Implementations
impl Sync for Interval
impl Send for Interval
impl Unpin for Interval
impl RefUnwindSafe for Interval
impl UnwindSafe for Interval
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,