pub struct LashlangProcessEngine { /* private fields */ }Implementations§
Source§impl LashlangProcessEngine
impl LashlangProcessEngine
pub fn new( artifact_store: Arc<dyn LashlangArtifactStore>, surface: LashlangSurface, ) -> Self
pub fn in_memory(surface: LashlangSurface) -> Self
pub fn with_execution_trace( self, sink: Option<Arc<dyn TraceSink>>, trace_context: TraceContext, ) -> Self
pub fn artifact_store(&self) -> Arc<dyn LashlangArtifactStore>
Trait Implementations§
Source§impl Clone for LashlangProcessEngine
impl Clone for LashlangProcessEngine
Source§fn clone(&self) -> LashlangProcessEngine
fn clone(&self) -> LashlangProcessEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ProcessEngine for LashlangProcessEngine
impl ProcessEngine for LashlangProcessEngine
fn kind(&self) -> &'static str
fn validate_start<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
context: ProcessEngineValidationContext<'life1>,
payload: &'life2 Value,
_env_spec: Option<&'life3 ProcessExecutionEnvSpec>,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
context: ProcessEngineRunContext<'life1>,
payload: Value,
) -> Pin<Box<dyn Future<Output = ProcessAwaitOutput> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn identity(&self, payload: &Value) -> ProcessIdentity
Auto Trait Implementations§
impl !RefUnwindSafe for LashlangProcessEngine
impl !UnwindSafe for LashlangProcessEngine
impl Freeze for LashlangProcessEngine
impl Send for LashlangProcessEngine
impl Sync for LashlangProcessEngine
impl Unpin for LashlangProcessEngine
impl UnsafeUnpin for LashlangProcessEngine
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