feat: add network manager to optimize network request handling

This commit is contained in:
wonfen
2025-04-30 21:30:28 +08:00
parent 3ce5d3bf2d
commit 32b6821b8a
10 changed files with 340 additions and 96 deletions

View File

@@ -15,6 +15,7 @@ pub enum Type {
Frontend,
Backup,
Lightweight,
Network,
}
impl fmt::Display for Type {
@@ -33,6 +34,7 @@ impl fmt::Display for Type {
Type::Frontend => write!(f, "[Frontend]"),
Type::Backup => write!(f, "[Backup]"),
Type::Lightweight => write!(f, "[Lightweight]"),
Type::Network => write!(f, "[Network]"),
}
}
}