pub enum RateLimitErrorKind {
InvalidPolicy,
Connection,
Backend,
Time,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for RateLimitErrorKind
impl Clone for RateLimitErrorKind
Source§fn clone(&self) -> RateLimitErrorKind
fn clone(&self) -> RateLimitErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RateLimitErrorKind
impl Debug for RateLimitErrorKind
Source§impl PartialEq for RateLimitErrorKind
impl PartialEq for RateLimitErrorKind
Source§fn eq(&self, other: &RateLimitErrorKind) -> bool
fn eq(&self, other: &RateLimitErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RateLimitErrorKind
impl Eq for RateLimitErrorKind
impl StructuralPartialEq for RateLimitErrorKind
Auto Trait Implementations§
impl Freeze for RateLimitErrorKind
impl RefUnwindSafe for RateLimitErrorKind
impl Send for RateLimitErrorKind
impl Sync for RateLimitErrorKind
impl Unpin for RateLimitErrorKind
impl UnsafeUnpin for RateLimitErrorKind
impl UnwindSafe for RateLimitErrorKind
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