Function socks_hub::main_entry

source ·
pub async fn main_entry<F>(
    config: &Config,
    quit: Receiver<()>,
    callback: Option<F>
) -> Result<(), BoxError>
where F: FnOnce(SocketAddr) + Send + Sync + 'static,