diff options
author | gilles henaux <gill.henaux@gmail.com> | 2023-01-14 22:27:48 +0100 |
---|---|---|
committer | gilles henaux <gill.henaux@gmail.com> | 2023-01-14 22:27:48 +0100 |
commit | 1ccd87ef1f2d64bc9ed1637b8f45549079c68b15 (patch) | |
tree | 0a66d166891c578ebd3825c498ae61aa0cea2570 | |
parent | 1a29623e2a10183703907bffb9dd59d6c4f8dccc (diff) |
[channel] Change Channel visibility and empty implementation for Unreliable channel
-rw-r--r-- | src/shared/channel.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/channel.rs b/src/shared/channel.rs index ae4b517..f9b090e 100644 --- a/src/shared/channel.rs +++ b/src/shared/channel.rs @@ -47,7 +47,7 @@ pub(crate) enum ChannelSyncMessage { } #[derive(Debug)] -pub struct Channel { +pub(crate) struct Channel { sender: mpsc::Sender<Bytes>, close_sender: mpsc::Sender<()>, } @@ -145,7 +145,9 @@ pub(crate) async fn channels_task( .await }); }, - ChannelId::Unreliable => todo!(), + ChannelId::Unreliable => { + // TODO + }, } } } => { |