mirror of
https://github.com/DaLaw2/NetGuardia.git
synced 2026-08-24 14:10:28 +09:00
7 lines
187 B
Rust
7 lines
187 B
Rust
use tracing_subscriber::EnvFilter;
|
|
|
|
pub trait FilterControl: Send + Sync {
|
|
fn reload_filter(&self, filter: EnvFilter) -> Result<(), String>;
|
|
fn current_filter(&self) -> String;
|
|
}
|