Struct Context
shadowsocks::relay
pub struct Context { /* fields omitted */ }
Local server running context
impl Context
fn with<F, R>(f: F) -> R where F: FnOnce(&Context) -> R,
Get the value in this context
fn handle(&self) -> &Handle
Get Core handle
fn config(&self) -> &Config
Get config