pub enum CrontabEntryParseError {
InvalidSchedule(ScheduleParseError),
InvalidPeriod(PeriodParseError),
InvalidUser(UserInfoParseError),
InvalidDelay(ParseIntError),
InvalidEnvVarName,
MissingPeriod,
MissingDelay,
MissingJobId,
MissingEnvVarName,
MissingEnvVarValue,
}
Variants§
InvalidSchedule(ScheduleParseError)
InvalidPeriod(PeriodParseError)
InvalidUser(UserInfoParseError)
InvalidDelay(ParseIntError)
InvalidEnvVarName
MissingPeriod
MissingDelay
MissingJobId
MissingEnvVarName
MissingEnvVarValue
Trait Implementations§
Source§impl Debug for CrontabEntryParseError
impl Debug for CrontabEntryParseError
Source§impl Display for CrontabEntryParseError
impl Display for CrontabEntryParseError
Source§impl Error for CrontabEntryParseError
impl Error for CrontabEntryParseError
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<CrontabEntryParseError> for CrontabFileError
impl From<CrontabEntryParseError> for CrontabFileError
Source§fn from(err: CrontabEntryParseError) -> CrontabFileError
fn from(err: CrontabEntryParseError) -> CrontabFileError
Converts to this type from the input type.
Source§impl From<ParseIntError> for CrontabEntryParseError
impl From<ParseIntError> for CrontabEntryParseError
Source§fn from(e: ParseIntError) -> CrontabEntryParseError
fn from(e: ParseIntError) -> CrontabEntryParseError
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 From<UserInfoParseError> for CrontabEntryParseError
impl From<UserInfoParseError> for CrontabEntryParseError
Source§fn from(e: UserInfoParseError) -> CrontabEntryParseError
fn from(e: UserInfoParseError) -> CrontabEntryParseError
Converts to this type from the input type.
Source§impl PartialEq for CrontabEntryParseError
impl PartialEq for CrontabEntryParseError
impl StructuralPartialEq for CrontabEntryParseError
Auto Trait Implementations§
impl Freeze for CrontabEntryParseError
impl RefUnwindSafe for CrontabEntryParseError
impl Send for CrontabEntryParseError
impl Sync for CrontabEntryParseError
impl Unpin for CrontabEntryParseError
impl UnwindSafe for CrontabEntryParseError
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