pub enum ThrottleResult {
Success,
Throttled(Duration),
AlreadyThrottled,
}
Variants§
Trait Implementations§
Source§impl Debug for ThrottleResult
impl Debug for ThrottleResult
Source§impl PartialEq for ThrottleResult
impl PartialEq for ThrottleResult
impl Eq for ThrottleResult
impl StructuralPartialEq for ThrottleResult
Auto Trait Implementations§
impl Freeze for ThrottleResult
impl RefUnwindSafe for ThrottleResult
impl Send for ThrottleResult
impl Sync for ThrottleResult
impl Unpin for ThrottleResult
impl UnwindSafe for ThrottleResult
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
§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
Checks if this value is equivalent to the given key. Read more
§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.