Skip to main content

admit_cost

Function admit_cost 

Source
pub fn admit_cost(bound: CostBound, cap: u64) -> Result<u64, DynamicRefusal>
Expand description

The units to reserve for the one attempt, or why it cannot be dispatched (3.5): only an enforceable bound at or below the hard cap is admitted. Unknown exposure and estimates are refused.