pub enum Error {
CommandRunError(String),
CommandParseError(String),
FileReadError(String, String),
TimeError(String),
InvalidInputError(String, String),
SerializeError(String, String),
}
Expand description
Error type used by this crate
Variants§
CommandRunError(String)
CommandParseError(String)
FileReadError(String, String)
TimeError(String)
InvalidInputError(String, String)
SerializeError(String, String)
Trait Implementations§
Source§impl Error for RsysError
impl Error for RsysError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Eq for RsysError
impl StructuralPartialEq for RsysError
Auto Trait Implementations§
impl Freeze for RsysError
impl RefUnwindSafe for RsysError
impl Send for RsysError
impl Sync for RsysError
impl Unpin for RsysError
impl UnwindSafe for RsysError
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