pub enum DelaySource {
RetryAfter,
ProviderQuota,
Both,
}Expand description
Metadata source selected for a delay decision.
Variants§
RetryAfter
Standard Retry-After metadata.
ProviderQuota
One or more exhausted provider quota buckets.
Both
Both sources agreed exactly.
Trait Implementations§
Source§impl Clone for DelaySource
impl Clone for DelaySource
Source§fn clone(&self) -> DelaySource
fn clone(&self) -> DelaySource
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 moreimpl Copy for DelaySource
Source§impl Debug for DelaySource
impl Debug for DelaySource
impl Eq for DelaySource
Source§impl PartialEq for DelaySource
impl PartialEq for DelaySource
impl StructuralPartialEq for DelaySource
Auto Trait Implementations§
impl Freeze for DelaySource
impl RefUnwindSafe for DelaySource
impl Send for DelaySource
impl Sync for DelaySource
impl Unpin for DelaySource
impl UnsafeUnpin for DelaySource
impl UnwindSafe for DelaySource
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