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]
impl FromStr for Period[src]
type Err = PeriodParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Period, PeriodParseError>
Parses a string s to return a value of this type. Read more