pub trait ProxyProtocol { // Required methods fn init(&mut self) -> Result<()>; fn is_enabled(&self) -> bool; }
Trait for abstracting the proxy protocol implementation