#[repr(u8)]pub enum ThrottleMode {
    None = 0,
    Intercept = 1,
}Expand description
Throttling mode for requests that support throttling.
Variants§
None = 0
We don’t get these kinds of events at all
Intercept = 1
We call throttle to give the event handler a way to throttle requests
Trait Implementations§
Source§impl Clone for ThrottleMode
 
impl Clone for ThrottleMode
Source§fn clone(&self) -> ThrottleMode
 
fn clone(&self) -> ThrottleMode
Returns a duplicate 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 moreSource§impl Debug for ThrottleMode
 
impl Debug for ThrottleMode
Source§impl Default for ThrottleMode
 
impl Default for ThrottleMode
Source§fn default() -> ThrottleMode
 
fn default() -> ThrottleMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThrottleMode
 
impl PartialEq for ThrottleMode
impl Copy for ThrottleMode
impl Eq for ThrottleMode
impl StructuralPartialEq for ThrottleMode
Auto Trait Implementations§
impl Freeze for ThrottleMode
impl RefUnwindSafe for ThrottleMode
impl Send for ThrottleMode
impl Sync for ThrottleMode
impl Unpin for ThrottleMode
impl UnwindSafe for ThrottleMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<T> CompatExt for T
 
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.