[][src]Enum clokwerk::Interval

pub enum Interval {
    Seconds(u32),
    Minutes(u32),
    Hours(u32),
    Days(u32),
    Weeks(u32),
    Monday,
    Tuesday,
    Wednesday,
    Thursday,
    Friday,
    Saturday,
    Sunday,
    Weekday,
}

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_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

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]