pub struct CrontabFileError {
pub lineno: usize,
pub line: Option<String>,
pub kind: CrontabFileErrorKind,
}
Fields§
§lineno: usize
§line: Option<String>
§kind: CrontabFileErrorKind
Trait Implementations§
Source§impl Debug for CrontabFileError
impl Debug for CrontabFileError
Source§impl Display for CrontabFileError
impl Display for CrontabFileError
Source§impl Error for CrontabFileError
impl Error for CrontabFileError
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<Error> for CrontabFileError
impl From<Error> for CrontabFileError
Source§fn from(err: Error) -> CrontabFileError
fn from(err: Error) -> CrontabFileError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CrontabFileError
impl !RefUnwindSafe for CrontabFileError
impl Send for CrontabFileError
impl Sync for CrontabFileError
impl Unpin for CrontabFileError
impl !UnwindSafe for CrontabFileError
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