Enum cronparse::schedule::Period [] [src]

pub enum Period {
    Reboot,
    Minutely,
    Hourly,
    Midnight,
    Daily,
    Weekly,
    Monthly,
    Quaterly,
    Biannually,
    Yearly,
    Days(u16),
}

Variants

RebootMinutelyHourlyMidnightDailyWeeklyMonthlyQuaterlyBiannuallyYearlyDays(u16)

Trait Implementations

impl PartialEq for Period
[src]

fn eq(&self, __arg_0: &Period) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Period) -> bool

This method tests for !=.

impl Debug for Period
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Period
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for Period
[src]

type Err = PeriodParseError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<PeriodPeriodParseError>

Parses a string s to return a value of this type. Read more