pub struct ExecutionEnvironment<'host, H: ExecutionHost> { /* private fields */ }Implementations§
Source§impl<'host, H: ExecutionHost> ExecutionEnvironment<'host, H>
impl<'host, H: ExecutionHost> ExecutionEnvironment<'host, H>
pub fn new(host: &'host H) -> Self
pub fn with_mode(self, mode: ExecutionMode) -> Self
pub fn process(self) -> Self
pub fn foreground(self) -> Self
pub fn with_projected_bindings(self, projected: ProjectedBindings) -> Self
pub fn with_scratch(self, scratch: ExecutionScratch) -> Self
pub fn traced(self) -> Self
pub fn profiled(self) -> Self
pub fn take_runtime_failure(&self) -> Option<RuntimeFailure>
pub fn take_profile(&self) -> Option<ProfileReport>
pub fn take_recycled_scratch(&self) -> Option<ExecutionScratch>
Trait Implementations§
Source§impl<H: ExecutionHost> ExecutionHost for ExecutionEnvironment<'_, H>
impl<H: ExecutionHost> ExecutionHost for ExecutionEnvironment<'_, H>
async fn perform( &self, op: AbilityOp, ) -> Result<AbilityResult, ExecutionHostError>
async fn yield_now(&self)
fn execution_mode(&self) -> ExecutionMode
fn projected_bindings(&self) -> ProjectedBindings
fn trace_runtime_errors(&self) -> bool
fn profile_execution(&self) -> bool
fn take_scratch(&self) -> Option<ExecutionScratch>
fn store_scratch(&self, scratch: ExecutionScratch)
fn observe_runtime_failure(&self, failure: RuntimeFailure)
fn observe_profile(&self, profile: ProfileReport)
fn observe_lashlang_execution(&self, observation: LashlangExecutionObservation)
Auto Trait Implementations§
impl<'host, H> !Freeze for ExecutionEnvironment<'host, H>
impl<'host, H> !RefUnwindSafe for ExecutionEnvironment<'host, H>
impl<'host, H> !UnwindSafe for ExecutionEnvironment<'host, H>
impl<'host, H> Send for ExecutionEnvironment<'host, H>
impl<'host, H> Sync for ExecutionEnvironment<'host, H>
impl<'host, H> Unpin for ExecutionEnvironment<'host, H>
impl<'host, H> UnsafeUnpin for ExecutionEnvironment<'host, H>
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