Struct msg_transmitter::tcp::TCPMsgClient[][src]

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

Methods

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

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

process_function receive a message from server and send a series of messages to server

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

impl<T> Sync for TCPMsgClient<T> where
    T: Sync