pub struct LimitExceeded {
pub event_id: String,
pub constraint: Constraint,
pub retry_after: Option<Duration>,
}Expand description
Error returned when a rate limit is exceeded.
Fields§
§event_id: String§constraint: Constraint§retry_after: Option<Duration>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LimitExceeded
impl !RefUnwindSafe for LimitExceeded
impl Send for LimitExceeded
impl Sync for LimitExceeded
impl Unpin for LimitExceeded
impl !UnwindSafe for LimitExceeded
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