rsiot-websocket-server 0.0.71

Websocket-сервер
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use rsiot_components_config::websocket_server::*;
use rsiot_messages_core::MsgDataBound;

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

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