Revert "🚧 wip"

This reverts commit 05ba4822f8.
main
_ 2021-10-01 10:41:44 -05:00
parent 05ba4822f8
commit 7408d41d47
2 changed files with 3 additions and 5 deletions

View File

@ -199,8 +199,8 @@ struct RequestP2ToP4 {
client_id: String,
}
struct PtthNewConnection <ClientSend: AsyncWrite + Unpin> {
client_send: ClientSend,
struct PtthNewConnection {
client_send: quinn::SendStream,
client_recv: quinn::RecvStream,
server_send: quinn::SendStream,
server_recv: quinn::RecvStream,
@ -211,7 +211,7 @@ struct PtthConnection {
downlink_task: JoinHandle <anyhow::Result <()>>,
}
impl <ClientSend: AsyncWrite + Unpin> PtthNewConnection <ClientSend> {
impl PtthNewConnection {
fn build (self) -> PtthConnection {
let Self {
mut client_send,

View File

@ -18,9 +18,7 @@ pub use anyhow::{
pub use futures_util::StreamExt;
pub use tokio::{
io::{
AsyncRead,
AsyncReadExt,
AsyncWrite,
AsyncWriteExt,
},
net::TcpListener,