pub enum AllowanceEvaluationBlock {
}Expand description
Why the common Allowance rules did not admit a candidate payment.
Variants§
InvalidRequest
The caller supplied structurally invalid Payment Request terms.
AssetMismatch
Request and Allowance assets differ, including case.
AmountOutsideRange
Request amount is outside the inclusive per-payment range.
NoEligibleEndpoint
The request and Allowance have no common endpoint identifier.
NotActive
The inclusive active time has not been reached.
Expired
The exclusive expiry has been reached.
ClockRollback
Evaluation would move trusted time behind its durable watermark.
FutureUsage
Retained usage was admitted later than this evaluation time.
UsageAssetMismatch
Accounting evidence uses a different asset from the Allowance.
PeriodAmountLimit
One configured period amount ceiling would be exceeded.
PeriodCountLimit
One configured period count ceiling would be exceeded.
LifetimeAmountLimit
The lifetime amount ceiling would be exceeded.
ArithmeticOverflow
A time boundary, duration, or count cannot be represented safely.
Implementations§
Trait Implementations§
Source§impl Clone for AllowanceEvaluationBlock
impl Clone for AllowanceEvaluationBlock
Source§impl Debug for AllowanceEvaluationBlock
impl Debug for AllowanceEvaluationBlock
Source§impl Display for AllowanceEvaluationBlock
impl Display for AllowanceEvaluationBlock
impl Eq for AllowanceEvaluationBlock
Source§impl Error for AllowanceEvaluationBlock
impl Error for AllowanceEvaluationBlock
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for AllowanceEvaluationBlock
impl PartialEq for AllowanceEvaluationBlock
impl StructuralPartialEq for AllowanceEvaluationBlock
Auto Trait Implementations§
impl Freeze for AllowanceEvaluationBlock
impl RefUnwindSafe for AllowanceEvaluationBlock
impl Send for AllowanceEvaluationBlock
impl Sync for AllowanceEvaluationBlock
impl Unpin for AllowanceEvaluationBlock
impl UnsafeUnpin for AllowanceEvaluationBlock
impl UnwindSafe for AllowanceEvaluationBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.