pub enum UnraidNotifierError {
InvalidPath,
IOError(Error),
}Expand description
Errors, InvalidPath is returned if the path is invalid, IOError is used for if the path could not be read, or the process could not be spawned.
Variants§
Trait Implementations§
Source§impl Debug for UnraidNotifierError
impl Debug for UnraidNotifierError
Source§impl Display for UnraidNotifierError
impl Display for UnraidNotifierError
Source§impl Error for UnraidNotifierError
impl Error for UnraidNotifierError
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()
Auto Trait Implementations§
impl Freeze for UnraidNotifierError
impl !RefUnwindSafe for UnraidNotifierError
impl Send for UnraidNotifierError
impl Sync for UnraidNotifierError
impl Unpin for UnraidNotifierError
impl !UnwindSafe for UnraidNotifierError
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