pub struct LimitedGasConsumer<'l> { /* private fields */ }Expand description
Consumes at most N gas units, everything else is treated as free gas.
Implementations§
Source§impl LimitedGasConsumer<'_>
impl LimitedGasConsumer<'_>
Trait Implementations§
Source§impl CellContext for LimitedGasConsumer<'_>
impl CellContext for LimitedGasConsumer<'_>
Auto Trait Implementations§
impl<'l> !Freeze for LimitedGasConsumer<'l>
impl<'l> !RefUnwindSafe for LimitedGasConsumer<'l>
impl<'l> !Send for LimitedGasConsumer<'l>
impl<'l> !Sync for LimitedGasConsumer<'l>
impl<'l> Unpin for LimitedGasConsumer<'l>
impl<'l> !UnwindSafe for LimitedGasConsumer<'l>
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