Struct msg_transmitter::uds::UDSMsgServer[][src]

pub struct UDSMsgServer<T> { /* fields omitted */ }

Methods

impl<T> UDSMsgServer<T> where
    T: DeserializeOwned + Serialize + Send + 'static + Clone
[src]

addr is socket address. like: 127.0.0.1:6666. name is the server's name, to identity which server it is.

first_msg is the first message that server send to the client which just connect to server. process_fuction receive a tuple of <client_name, message>, and return a series of tuple of <client_name,message> indicating which message sended to which client.

Trait Implementations

impl<T: Debug> Debug for UDSMsgServer<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for UDSMsgServer<T> where
    T: Send

impl<T> Sync for UDSMsgServer<T> where
    T: Send