Enum cronparse::schedule::Schedule [] [src]

pub enum Schedule {
    Calendar(Calendar),
    Period(Period),
}

Variants

Calendar
Period

Methods

impl Schedule

fn from_iter<'a, I>(iter: I) -> Result<Schedule, ScheduleParseError> where I: Iterator<Item=&'a str>

Trait Implementations

impl Display for Schedule

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

impl FromStr for Schedule

type Err = ScheduleParseError

fn from_str(s: &str) -> Result<Schedule, ScheduleParseError>

Derived Implementations

impl PartialEq for Schedule

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

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

impl Debug for Schedule

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