pub enum ParentGasConsumer<'l> {
Isolated(GasConsumer<'l>),
Shared(GasConsumer<'l>),
}Expand description
Parent of the derived gas consumer.
Variants§
Isolated(GasConsumer<'l>)
Auto Trait Implementations§
impl<'l> !Freeze for ParentGasConsumer<'l>
impl<'l> !RefUnwindSafe for ParentGasConsumer<'l>
impl<'l> !Send for ParentGasConsumer<'l>
impl<'l> !Sync for ParentGasConsumer<'l>
impl<'l> Unpin for ParentGasConsumer<'l>
impl<'l> !UnwindSafe for ParentGasConsumer<'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