1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub use rsiot_components_config::http_server::Config; pub struct ConfigAlias<TMsg>(pub Config<TMsg>) where TMsg: Clone; impl<TMsg> From<Config<TMsg>> for ConfigAlias<TMsg> where TMsg: Clone, { fn from(value: Config<TMsg>) -> Self { Self(value) } }