pub enum ScheduleParseError {
MissingSchedule,
InvalidPeriod(PeriodParseError),
InvalidCalendar(CalendarParseError),
}Variants§
Trait Implementations§
Source§impl Debug for ScheduleParseError
impl Debug for ScheduleParseError
Source§impl Display for ScheduleParseError
impl Display for ScheduleParseError
Source§impl Error for ScheduleParseError
impl Error for ScheduleParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<CalendarParseError> for ScheduleParseError
impl From<CalendarParseError> for ScheduleParseError
Source§fn from(e: CalendarParseError) -> ScheduleParseError
fn from(e: CalendarParseError) -> ScheduleParseError
Converts to this type from the input type.
Source§impl From<PeriodParseError> for ScheduleParseError
impl From<PeriodParseError> for ScheduleParseError
Source§fn from(e: PeriodParseError) -> ScheduleParseError
fn from(e: PeriodParseError) -> ScheduleParseError
Converts to this type from the input type.
Source§impl From<ScheduleParseError> for CrontabEntryParseError
impl From<ScheduleParseError> for CrontabEntryParseError
Source§fn from(e: ScheduleParseError) -> CrontabEntryParseError
fn from(e: ScheduleParseError) -> CrontabEntryParseError
Converts to this type from the input type.
Source§impl PartialEq for ScheduleParseError
impl PartialEq for ScheduleParseError
impl StructuralPartialEq for ScheduleParseError
Auto Trait Implementations§
impl Freeze for ScheduleParseError
impl RefUnwindSafe for ScheduleParseError
impl Send for ScheduleParseError
impl Sync for ScheduleParseError
impl Unpin for ScheduleParseError
impl UnwindSafe for ScheduleParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more