mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
perf: simplify method signatures and reduce clone across multiple files (#1663)
This commit is contained in:
@@ -156,7 +156,7 @@ impl QUICTunnelListener {
|
||||
}
|
||||
}
|
||||
|
||||
async fn do_accept(&mut self) -> Result<Box<dyn Tunnel>, super::TunnelError> {
|
||||
async fn do_accept(&self) -> Result<Box<dyn Tunnel>, super::TunnelError> {
|
||||
// accept a single connection
|
||||
let conn = self
|
||||
.endpoint
|
||||
|
||||
Reference in New Issue
Block a user