rsiot/components/cmp_http_server/
config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use crate::components_config::http_server::{Config, ConfigCmpPlcData};
use crate::message::MsgDataBound;

pub struct ConfigAlias<TMsg>(pub Config<TMsg>)
where
    TMsg: MsgDataBound;

impl<TMsg> From<Config<TMsg>> for ConfigAlias<TMsg>
where
    TMsg: MsgDataBound,
{
    fn from(value: Config<TMsg>) -> Self {
        Self(value)
    }
}