pub enum AppInfoError {
DirectoryReadError(Error),
BundleParseError {
path: String,
},
PlistError(String),
RegistryError(String),
AppNotFound {
name: String,
},
UnsupportedPlatform,
FileIconError(FileIconError),
}Variants§
DirectoryReadError(Error)
BundleParseError
PlistError(String)
RegistryError(String)
AppNotFound
UnsupportedPlatform
FileIconError(FileIconError)
Trait Implementations§
Source§impl Debug for AppInfoError
impl Debug for AppInfoError
Source§impl Display for AppInfoError
impl Display for AppInfoError
Source§impl Error for AppInfoError
impl Error for AppInfoError
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()
Source§impl From<Error> for AppInfoError
impl From<Error> for AppInfoError
Source§impl From<FileIconError> for AppInfoError
impl From<FileIconError> for AppInfoError
Source§fn from(source: FileIconError) -> Self
fn from(source: FileIconError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppInfoError
impl !RefUnwindSafe for AppInfoError
impl Send for AppInfoError
impl Sync for AppInfoError
impl Unpin for AppInfoError
impl !UnwindSafe for AppInfoError
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