Store online peers when joining a worktree

This commit is contained in:
Antonio Scandurra
2021-06-30 15:07:33 +02:00
parent 7704291432
commit 1d53d43d6f
3 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ type BoxedWriter = Pin<Box<dyn AsyncWrite + 'static + Send>>;
type BoxedReader = Pin<Box<dyn AsyncRead + 'static + Send>>;
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
pub struct ConnectionId(u32);
pub struct ConnectionId(pub u32);
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
pub struct PeerId(pub u32);