relm4/component/async/
mod.rs

1mod builder;
2mod connector;
3mod controller;
4mod stream;
5mod traits;
6
7pub use builder::AsyncComponentBuilder;
8pub use connector::AsyncConnector;
9pub use controller::{AsyncComponentController, AsyncController};
10pub use stream::AsyncComponentStream;
11pub use traits::AsyncComponent;
12pub use traits::SimpleAsyncComponent;
13
14/// Contains the initial model and widgets being docked into a component.
15#[derive(Debug)]
16pub struct AsyncComponentParts<C: AsyncComponent> {
17    /// The model of the component.
18    pub model: C,
19    /// The widgets created for the view.
20    pub widgets: C::Widgets,
21}