mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Reload and apply settings if config file externally changed
This commit is contained in:
@@ -134,9 +134,12 @@ pub trait Reloadable {
|
||||
}
|
||||
|
||||
pub trait ReloadAndNotify {
|
||||
type Data: Send;
|
||||
|
||||
fn reload_and_notify(
|
||||
&mut self,
|
||||
signal_context: SignalContext<'static>,
|
||||
signal_context: &SignalContext<'static>,
|
||||
data: Self::Data,
|
||||
) -> impl std::future::Future<Output = Result<(), RogError>> + Send;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user