mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update egui and supergfxctl deps
Requires running with supergfxctl v5.1.0-RC5 if installed
This commit is contained in:
@@ -11,6 +11,7 @@ pub enum Error {
|
||||
XdgVars,
|
||||
Zbus(zbus::Error),
|
||||
Notification(notify_rust::error::Error),
|
||||
Eframe(eframe::Error),
|
||||
}
|
||||
|
||||
impl fmt::Display for Error {
|
||||
@@ -24,6 +25,7 @@ impl fmt::Display for Error {
|
||||
Error::XdgVars => write!(f, "XDG environment vars appear unset"),
|
||||
Error::Zbus(err) => write!(f, "Error: {}", err),
|
||||
Error::Notification(err) => write!(f, "Notification Error: {}", err),
|
||||
Error::Eframe(err) => write!(f, "Eframe Error: {}", err),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,3 +55,9 @@ impl From<notify_rust::error::Error> for Error {
|
||||
Error::Notification(err)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<eframe::Error> for Error {
|
||||
fn from(err: eframe::Error) -> Self {
|
||||
Error::Eframe(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user