pub fn patch_rate_limiters(
        &mut self,
        rx_bytes: BucketUpdate,
        rx_ops: BucketUpdate,
        tx_bytes: BucketUpdate,
        tx_ops: BucketUpdate,
    ) {
        self.rx_rate_limiter.update_buckets(rx_bytes, rx_ops);
        self.tx_rate_limiter.update_buckets(tx_bytes, tx_ops);
    }
/// Updates the parameters for the rate limiters
Updates the parameters for the rate limiters
Updates the parameters for the rate limiters
pub fn patch_rate_limiters(
        &mut self,
        rx_bytes: BucketUpdate,
        rx_ops: BucketUpdate,
        tx_bytes: BucketUpdate,
        tx_ops: BucketUpdate,
    ) {
        self.rx_rate_limiter.update_buckets(rx_bytes, rx_ops);
        self.tx_rate_limiter.update_buckets(tx_bytes, tx_ops);
    }
pub fn patch_rate_limiters ( & mut self , rx_bytes : BucketUpdate , rx_ops : BucketUpdate , tx_bytes : BucketUpdate , tx_ops : BucketUpdate , ) { self . rx_rate_limiter . update_buckets ( rx_bytes , rx_ops ) ; self . tx_rate_limiter . update_buckets ( tx_bytes , tx_ops ) ; }
Updates the parameters for the rate limiters
Updates the parameters for the rate limiters
&mut self
rx_bytes
BucketUpdate
rx_ops
BucketUpdate
tx_bytes
BucketUpdate
tx_ops
BucketUpdate
&mut self
rx_bytes
BucketUpdate
rx_ops
BucketUpdate
tx_bytes
BucketUpdate
tx_ops
BucketUpdate