pub enum RetryableError {
RateLimited {
retry_after: u64,
},
Overloaded,
StreamInterrupted,
NonRetryable(String),
}Expand description
Categorized error for retry logic.
Variants§
Auto Trait Implementations§
impl Freeze for RetryableError
impl RefUnwindSafe for RetryableError
impl Send for RetryableError
impl Sync for RetryableError
impl Unpin for RetryableError
impl UnsafeUnpin for RetryableError
impl UnwindSafe for RetryableError
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