/// Construct a new `ServerHandle`
Construct a new `ServerHandle`
Construct a new ` ServerHandle `
pub fn new(
        server_handle: JoinHandle<()>,
        notify_tx: Sender<ServerCommand>,
        events_rx: Receiver<ServerEvent>,
        listening_host: SocketAddr,
    ) -> ServerHandle {
        ServerHandle {
            server_handle,
            notify_tx,
            events_rx,
            listening_host,
        }
    }
pub fn new ( server_handle : JoinHandle < ( ) > , notify_tx : Sender < ServerCommand > , events_rx : Receiver < ServerEvent > , listening_host : SocketAddr , ) -> ServerHandle { ServerHandle { server_handle , notify_tx , events_rx , listening_host , } }
Construct a new `ServerHandle`
Construct a new ` ServerHandle `
server_handle
JoinHandle<()>
notify_tx
Sender<ServerCommand>
events_rx
Receiver<ServerEvent>
listening_host
SocketAddr