Client index is public
This commit is contained in:
parent
9c55f69a91
commit
e9bd89c8a5
@ -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)>,
|
||||||
|
Loading…
Reference in New Issue
Block a user