relm4/component/
mod.rs

1//! Components are smaller mostly independent parts of
2//! your application.
3
4/// Types and traits used for regular (synchronous) components.
5mod sync;
6
7/// Types and traits used for async components.
8mod r#async;
9
10/// Message broker
11mod message_broker;
12
13/// A simpler version of components that does work
14/// in the background.
15pub mod worker;
16
17pub use message_broker::MessageBroker;
18
19pub use sync::{
20    CommandFuture, Component, ComponentBuilder, ComponentController, ComponentParts,
21    ComponentStream, Connector, Controller, SimpleComponent, StateWatcher,
22};
23
24pub use r#async::{
25    AsyncComponent, AsyncComponentBuilder, AsyncComponentController, AsyncComponentParts,
26    AsyncComponentStream, AsyncConnector, AsyncController, SimpleAsyncComponent,
27};
28
29pub use crate::channel::AsyncComponentSender;