diff options
author | 2019-11-24 11:25:14 +0100 | |
---|---|---|
committer | 2019-11-24 11:26:28 +0100 | |
commit | 9f3abe920271996cc4a9c533ad5e0e75e3d18a3d (patch) | |
tree | 88b04f05a51e61f1a9083e3a63df91665123ea30 /src | |
parent | 5b8f6948bb8b995b54de66572644da2885b7fcd8 (diff) | |
download | iced-9f3abe920271996cc4a9c533ad5e0e75e3d18a3d.tar.gz iced-9f3abe920271996cc4a9c533ad5e0e75e3d18a3d.tar.bz2 iced-9f3abe920271996cc4a9c533ad5e0e75e3d18a3d.zip |
Spawn `Command` futures in `iced_web`
Diffstat (limited to 'src')
-rw-r--r-- | src/application.rs | 2 | ||||
-rw-r--r-- | src/sandbox.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs index d761c990..f6d3fb90 100644 --- a/src/application.rs +++ b/src/application.rs @@ -83,7 +83,7 @@ pub trait Application: Sized { /// The type of __messages__ your [`Application`] will produce. /// /// [`Application`]: trait.Application.html - type Message: std::fmt::Debug + Send; + type Message: std::fmt::Debug + Send + Clone; /// Initializes the [`Application`]. /// diff --git a/src/sandbox.rs b/src/sandbox.rs index 698578f4..60e3be14 100644 --- a/src/sandbox.rs +++ b/src/sandbox.rs @@ -81,7 +81,7 @@ pub trait Sandbox { /// The type of __messages__ your [`Sandbox`] will produce. /// /// [`Sandbox`]: trait.Sandbox.html - type Message: std::fmt::Debug + Send; + type Message: std::fmt::Debug + Send + Clone; /// Initializes the [`Sandbox`]. /// |