Rust bindings for HevSocks5Tunnel
See here for more details.
``rust
/// Start and run the socks5 tunnel, this function will blocks until the
/// quit() is called or an error occurs.
///
/// # Arguments
///
/// *
configpath- config file path
/// *
tunfd` - tunnel file descriptor
///
/// # Returns
///
/// Returns Ok(()) on successful, otherwise returns non-zero.
pub fn main(configpath: &Path, tunfd: RawFd) -> Result<(), i32>
/// Stop the socks5 tunnel. pub fn quit() ```
MIT