pub enum DelayConflictPolicy {
RetryAfterPrecedence,
Longest,
RejectMismatch,
}Expand description
Conflict policy when Retry-After and exhausted quota buckets disagree.
Variants§
RetryAfterPrecedence
Follow the standard Retry-After instruction.
Longest
Use the longest advertised delay.
RejectMismatch
Reject unequal delay instructions.
Trait Implementations§
Source§impl Clone for DelayConflictPolicy
impl Clone for DelayConflictPolicy
Source§fn clone(&self) -> DelayConflictPolicy
fn clone(&self) -> DelayConflictPolicy
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 DelayConflictPolicy
Source§impl Debug for DelayConflictPolicy
impl Debug for DelayConflictPolicy
impl Eq for DelayConflictPolicy
Source§impl PartialEq for DelayConflictPolicy
impl PartialEq for DelayConflictPolicy
impl StructuralPartialEq for DelayConflictPolicy
Auto Trait Implementations§
impl Freeze for DelayConflictPolicy
impl RefUnwindSafe for DelayConflictPolicy
impl Send for DelayConflictPolicy
impl Sync for DelayConflictPolicy
impl Unpin for DelayConflictPolicy
impl UnsafeUnpin for DelayConflictPolicy
impl UnwindSafe for DelayConflictPolicy
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