pub fn set_udp_weight(&mut self, weight: f32) {
        assert!((0.0..=1.0).contains(&weight));
        self.udp_weight = weight;
    }
Set weight for UDP balancer in `[0, 1]`
crates/shadowsocks/src/config.rs