pub async fn run_tunnel_with_client(
vps_name: &str,
local_port: u16,
remote_host: &str,
remote_port: u16,
timeout_ms: u64,
json: bool,
client: Box<dyn SshClientTrait>,
bound_flag: Option<Arc<AtomicBool>>,
bind_addr: &str,
) -> Result<()>Expand description
Testable tunnel loop.