pub async fn delay_until_available(&self) {
        if self.bytes_available < 0. {
            self.runtime
                .sleep(Duration::from_secs_f64(
                    (-self.bytes_available) / self.bandwidth as f64,
                ))
                .await;
        }
    }
/// Delay until a time where there will be bandwidth available.
Delay until a time where there will be bandwidth available.
Delay until a time where there will be bandwidth available .
pub async fn delay_until_available(&self) {
        if self.bytes_available < 0. {
            self.runtime
                .sleep(Duration::from_secs_f64(
                    (-self.bytes_available) / self.bandwidth as f64,
                ))
                .await;
        }
    }
pub async fn delay_until_available ( & self ) { if self . bytes_available < 0. { self . runtime . sleep ( Duration :: from_secs_f64 ( ( - self . bytes_available ) / self . bandwidth as f64 , ) ) . await ; } }
Delay until a time where there will be bandwidth available.
Delay until a time where there will be bandwidth available .
&self
&self