diff options
author | gilles henaux <gill.henaux@gmail.com> | 2023-01-07 17:45:27 +0100 |
---|---|---|
committer | gilles henaux <gill.henaux@gmail.com> | 2023-01-11 14:47:33 +0100 |
commit | 828ba5e7fffb5275c3f15185703c7b7bbf43c6af (patch) | |
tree | d7393c6abec77675fd82b6c26bb7cfd5ccfc7f42 /src/shared/channel.rs | |
parent | 14a26107031ddf10a86980e0f8ee588ac8b20d85 (diff) |
[channels] Homegenize open_channel and close_channel interface
Diffstat (limited to 'src/shared/channel.rs')
-rw-r--r-- | src/shared/channel.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/channel.rs b/src/shared/channel.rs index 0746c21..73f5f6f 100644 --- a/src/shared/channel.rs +++ b/src/shared/channel.rs @@ -12,12 +12,12 @@ use super::QuinnetError; pub(crate) type OrdRelChannelId = u64; -// #[derive(Debug, Copy, Clone)] -// pub enum ChannelType { -// OrderedReliable, -// UnorderedReliable, -// Unreliable, -// } +#[derive(Debug, Copy, Clone)] +pub enum ChannelType { + OrderedReliable, + UnorderedReliable, + Unreliable, +} #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] pub enum ChannelId { |