pub struct InteractorEnvQuery<'w> {
pub world: &'w mut Interactor,
pub data: ScenarioTxEnvData,
}
Fields§
§world: &'w mut Interactor
§data: ScenarioTxEnvData
Trait Implementations§
source§impl<'w> ScenarioTxEnv for InteractorEnvQuery<'w>
impl<'w> ScenarioTxEnv for InteractorEnvQuery<'w>
fn env_data(&self) -> &ScenarioTxEnvData
source§impl<'w> TxEnv for InteractorEnvQuery<'w>
impl<'w> TxEnv for InteractorEnvQuery<'w>
type Api = VMHooksApi<StaticApiBackend>
§type RHExpect = TxExpect
type RHExpect = TxExpect
Type built by result handlers that translates into the “expect” section in scenarios.
fn resolve_sender_address(&self) -> ManagedAddress<Self::Api>
fn default_gas_annotation(&self) -> ManagedBuffer<Self::Api>
fn default_gas_value(&self) -> u64
Auto Trait Implementations§
impl<'w> Freeze for InteractorEnvQuery<'w>
impl<'w> !RefUnwindSafe for InteractorEnvQuery<'w>
impl<'w> Send for InteractorEnvQuery<'w>
impl<'w> Sync for InteractorEnvQuery<'w>
impl<'w> Unpin for InteractorEnvQuery<'w>
impl<'w> !UnwindSafe for InteractorEnvQuery<'w>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more