ProxyProtocol

Trait ProxyProtocol 

Source
pub trait ProxyProtocol {
    // Required methods
    fn init(&mut self) -> Result<()>;
    fn is_enabled(&self) -> bool;
}
Expand description

Trait for abstracting the proxy protocol implementation

Required Methods§

Source

fn init(&mut self) -> Result<()>

Source

fn is_enabled(&self) -> bool

Implementors§