pub enum DelayDecisionError {
ClockRollback,
ExhaustedBucketResetUnknown,
PastTimestamp,
TimestampOverflow,
ConflictingMetadata,
MaximumExceeded,
}Expand description
Failure to derive an unambiguous bounded delay.
Variants§
ClockRollback
The supplied wall clock moved behind the previous observation.
ExhaustedBucketResetUnknown
An exhausted bucket did not expose actionable reset metadata.
PastTimestamp
An absolute timestamp was at or before the current observation.
TimestampOverflow
An absolute date or difference was outside the supported range.
ConflictingMetadata
Retry and provider quota metadata disagreed under strict policy.
MaximumExceeded
The selected delay exceeded the caller maximum under reject policy.
Trait Implementations§
Source§impl Clone for DelayDecisionError
impl Clone for DelayDecisionError
Source§fn clone(&self) -> DelayDecisionError
fn clone(&self) -> DelayDecisionError
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 DelayDecisionError
Source§impl Debug for DelayDecisionError
impl Debug for DelayDecisionError
Source§impl Display for DelayDecisionError
impl Display for DelayDecisionError
impl Eq for DelayDecisionError
Source§impl Error for DelayDecisionError
impl Error for DelayDecisionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DelayDecisionError
impl PartialEq for DelayDecisionError
impl StructuralPartialEq for DelayDecisionError
Auto Trait Implementations§
impl Freeze for DelayDecisionError
impl RefUnwindSafe for DelayDecisionError
impl Send for DelayDecisionError
impl Sync for DelayDecisionError
impl Unpin for DelayDecisionError
impl UnsafeUnpin for DelayDecisionError
impl UnwindSafe for DelayDecisionError
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