MultiThreadInstruction

Trait MultiThreadInstruction 

Source
pub trait MultiThreadInstruction {
    // Required method
    fn execute<Y, L>(
        self,
        worktop: &mut Worktop,
        objects: &mut IntentProcessorObjects<'_>,
        api: &mut Y,
    ) -> Result<MultiThreadResult, RuntimeError>
       where Y: SystemApi<RuntimeError> + KernelNodeApi + KernelSubstateApi<L>,
             L: Default;
}

Required Methods§

Source

fn execute<Y, L>( self, worktop: &mut Worktop, objects: &mut IntentProcessorObjects<'_>, api: &mut Y, ) -> Result<MultiThreadResult, RuntimeError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MultiThreadInstruction for VerifyParent

Source§

fn execute<Y, L>( self, _worktop: &mut Worktop, _objects: &mut IntentProcessorObjects<'_>, _api: &mut Y, ) -> Result<MultiThreadResult, RuntimeError>

Source§

impl MultiThreadInstruction for YieldToChild

Source§

impl MultiThreadInstruction for YieldToParent

Implementors§