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<Schedule, ScheduleParseError> where
I: Iterator<Item = &'a str>,
I: Iterator<Item = &'a str>,
Trait Implementations
impl Debug for Schedule
[src]
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 Display for Schedule
[src]
impl FromStr for Schedule
[src]
type Err = ScheduleParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Schedule, ScheduleParseError>
Parses a string s
to return a value of this type. Read more