Use futures-preview instead of futures
This commit is contained in:
parent
655978f480
commit
dd093c79d7
4 changed files with 6 additions and 6 deletions
|
|
@ -19,7 +19,7 @@ pub trait UserInterface {
|
|||
fn update(
|
||||
&mut self,
|
||||
message: Self::Message,
|
||||
) -> Box<dyn Future<Item = Self::Message, Error = ()>>;
|
||||
) -> Option<Box<dyn Future<Output = Self::Message>>>;
|
||||
|
||||
fn view(&mut self) -> Element<Self::Message>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue