Improved architecture with signle mutex

This commit is contained in:
2026-07-30 05:56:59 +02:00
parent 535c6a2964
commit 7f1e3f8d7d
7 changed files with 106 additions and 112 deletions
-5
View File
@@ -35,11 +35,6 @@ pub async fn send_raw(data: &[u8]) -> tokio::io::Result<()> {
Ok(())
}
use std::sync::{
Arc,
atomic::{AtomicBool, Ordering},
};
#[allow(async_fn_in_trait)]
pub trait Strategy {
async fn start(&self) -> tokio::io::Result<()> {