remove comments and unused imports
This commit is contained in:
@@ -300,7 +300,6 @@ impl IpMixStream {
|
||||
(
|
||||
IpMixStreamReader {
|
||||
stream_reader,
|
||||
// ipr_address: self.ipr_address,
|
||||
listener: self.listener,
|
||||
allocated_ips: self.allocated_ips.clone(),
|
||||
connection_state: self.connection_state.clone(),
|
||||
@@ -309,7 +308,6 @@ impl IpMixStream {
|
||||
},
|
||||
IpMixStreamWriter {
|
||||
stream_writer,
|
||||
// ipr_address: self.ipr_address,
|
||||
local_addr,
|
||||
allocated_ips: self.allocated_ips,
|
||||
connection_state: self.connection_state,
|
||||
@@ -356,7 +354,6 @@ impl AsyncWrite for IpMixStream {
|
||||
|
||||
pub struct IpMixStreamReader {
|
||||
stream_reader: MixStreamReader,
|
||||
// ipr_address: IpPacketRouterAddress,
|
||||
listener: IprListener,
|
||||
allocated_ips: Option<IpPair>,
|
||||
connection_state: ConnectionState,
|
||||
@@ -432,7 +429,6 @@ impl AsyncRead for IpMixStreamReader {
|
||||
|
||||
pub struct IpMixStreamWriter {
|
||||
stream_writer: MixStreamWriter,
|
||||
// ipr_address: IpPacketRouterAddress,
|
||||
local_addr: Recipient,
|
||||
allocated_ips: Option<IpPair>,
|
||||
connection_state: ConnectionState,
|
||||
|
||||
@@ -7,7 +7,7 @@ use smoltcp::{
|
||||
};
|
||||
use std::collections::VecDeque;
|
||||
use tokio::sync::mpsc;
|
||||
use tracing::{debug, info, trace, warn};
|
||||
use tracing::{info, warn};
|
||||
|
||||
/// # Overview
|
||||
/// We need something to bridge the async / sync weirdness (Device trait fns are sync, IpMixStream fns are
|
||||
|
||||
Reference in New Issue
Block a user