Implement more traits
This commit is contained in:
parent
0dfb852d28
commit
2ddc27ee30
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ impl States {
|
|||
pub fn future_state_change<'b>(
|
||||
&self,
|
||||
id: impl Into<Option<&'b str>>,
|
||||
) -> Result<impl Fn() -> Result<()>> {
|
||||
) -> Result<impl Fn() -> Result<()> + Clone + Send + Sync> {
|
||||
let state = id.into().map(|id| self.get_state(id)).transpose()?;
|
||||
let current_state = self.current_state.clone();
|
||||
let gui_handler = if self.control_top_gui {
|
||||
|
|
Loading…
Reference in a new issue