Trait clarity_repl::clarity::costs::CostOverflowingMath
source · [−]pub trait CostOverflowingMath<T> {
fn cost_overflow_mul(self, other: T) -> Result<T, CostErrors>;
fn cost_overflow_add(self, other: T) -> Result<T, CostErrors>;
fn cost_overflow_sub(self, other: T) -> Result<T, CostErrors>;
}
Required Methods
source
fn cost_overflow_mul(self, other: T) -> Result<T, CostErrors>
source
fn cost_overflow_add(self, other: T) -> Result<T, CostErrors>
source