pub struct ExecutionHost { /* private fields */ }Expand description
Execution-scoped bridge from a local engine into durable dispatch.
Implementations§
Source§impl ExecutionHost
impl ExecutionHost
Sourcepub async fn call(
&self,
seq: u64,
connector: &str,
method: &str,
arguments: Value,
) -> DispatchResponse
pub async fn call( &self, seq: u64, connector: &str, method: &str, arguments: Value, ) -> DispatchResponse
Executes or replays one connector call.
Sourcepub async fn begin_step(
&self,
seq: u64,
name: &str,
) -> Result<StepResponse, String>
pub async fn begin_step( &self, seq: u64, name: &str, ) -> Result<StepResponse, String>
Begins a durable local callback step.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionHost
impl !UnwindSafe for ExecutionHost
impl Freeze for ExecutionHost
impl Send for ExecutionHost
impl Sync for ExecutionHost
impl Unpin for ExecutionHost
impl UnsafeUnpin for ExecutionHost
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