[−][src]Function runestick::budget::with
pub fn with<T>(budget: usize, value: T) -> Budget<T>ⓘ
Wrap the given value with a budget.
The value can either be a function, after which you can use Budget::call, or it can be a Future which can be polled.