Enum orca::net::LimitMethod
source · pub enum LimitMethod {
Steady,
Burst,
}
Expand description
How to ratelimit
Variants§
Steady
Wait an even amount of time between each request
Burst
Fire off requests as they come. It’s possible there will be a long waiting time for the next ratelimit period if too many are fired off at once.
Trait Implementations§
source§impl Clone for LimitMethod
impl Clone for LimitMethod
source§fn clone(&self) -> LimitMethod
fn clone(&self) -> LimitMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more