Client index is public
This commit is contained in:
@@ -15,7 +15,7 @@ pub struct Server<M> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub struct Client<M> {
|
pub struct Client<M> {
|
||||||
idx: usize,
|
pub idx: usize,
|
||||||
tx: Sender<M>,
|
tx: Sender<M>,
|
||||||
rx: Receiver<M>,
|
rx: Receiver<M>,
|
||||||
info: Sender<(usize, M)>,
|
info: Sender<(usize, M)>,
|
||||||
|
|||||||
Reference in New Issue
Block a user