msg type -> wire::push() -> update handle wire into module/service/ect
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
use iced::{window, Rectangle};
|
||||
|
||||
use crate::Wire;
|
||||
|
||||
/// What a module asks the app to do — the single effect vocabulary shared by
|
||||
/// modules and app, so mapping module output into a `Message` is a plain
|
||||
/// `.map(Message::Effect)` with no mirror enum.
|
||||
@@ -12,4 +14,6 @@ pub enum ModuleEffect {
|
||||
BoundsFound(String, Rectangle),
|
||||
/// Request removal of the popup surface.
|
||||
ClosePopup(window::Id),
|
||||
/// Route a wire to its target (a module, a service inbox, or a topic).
|
||||
Send(Wire),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user