diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-21 17:59:15 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-21 17:59:15 +0200 |
commit | 9dffa812c43470ee8a29c23c3a1be73085e25843 (patch) | |
tree | 9323c0031e26bcbdbf52056b6cdc65e28385c254 /src/recv.rs | |
parent | f35fa7d18d9e0f51bed311355ec1310b1d311ab3 (diff) | |
download | netapp-9dffa812c43470ee8a29c23c3a1be73085e25843.tar.gz netapp-9dffa812c43470ee8a29c23c3a1be73085e25843.zip |
Refactor send.rs
Diffstat (limited to 'src/recv.rs')
-rw-r--r-- | src/recv.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/recv.rs b/src/recv.rs index 628612b..f5221e6 100644 --- a/src/recv.rs +++ b/src/recv.rs @@ -1,16 +1,13 @@ use std::collections::HashMap; - use std::sync::Arc; +use async_trait::async_trait; use log::trace; use futures::channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender}; use futures::AsyncReadExt; -use async_trait::async_trait; - use crate::error::*; - use crate::send::*; use crate::util::Packet; |