pub enum DesktopEntryError {
MissingExec(PathBuf),
InvalidExec(String, PathBuf),
InvalidExecSyntax(PathBuf),
Regex(PathBuf),
}
Expand description
Represents all possible error variants when trying to execute a desktop entry
Variants§
Trait Implementations§
Source§impl Debug for DesktopEntryError
impl Debug for DesktopEntryError
Source§impl Display for DesktopEntryError
impl Display for DesktopEntryError
Source§impl Error for DesktopEntryError
impl Error for DesktopEntryError
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()
Auto Trait Implementations§
impl Freeze for DesktopEntryError
impl RefUnwindSafe for DesktopEntryError
impl Send for DesktopEntryError
impl Sync for DesktopEntryError
impl Unpin for DesktopEntryError
impl UnwindSafe for DesktopEntryError
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