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

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

Variants

Calendar(Calendar)Period(Period)

Methods

impl Schedule
[src]

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

Trait Implementations

impl PartialEq for Schedule
[src]

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

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

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

This method tests for !=.

impl Debug for Schedule
[src]

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

Formats the value using the given formatter.

impl Display for Schedule
[src]

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

Formats the value using the given formatter.

impl FromStr for Schedule
[src]

type Err = ScheduleParseError

The associated error which can be returned from parsing.

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

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