H3: move codecs to a new proto module

This commit is contained in:
stammw
2019-05-08 16:57:59 +02:00
committed by Dirkjan Ochtman
parent 2053e564f4
commit eab98c19f8
4 changed files with 36 additions and 30 deletions
+4 -2
View File
@@ -8,8 +8,10 @@ use tokio::runtime::current_thread::Runtime;
use bytes::{Bytes, BytesMut};
use failure::{format_err, Error};
use quinn_h3::frame::{HeadersFrame, HttpFrame, SettingsFrame};
use quinn_h3::StreamType;
use quinn_h3::proto::{
frame::{HeadersFrame, HttpFrame, SettingsFrame},
StreamType,
};
use slog::{o, warn, Drain, Logger};
type Result<T> = std::result::Result<T, Error>;