pub struct ConformanceExecutionAdapter { /* private fields */ }Expand description
Request-only Execution Adapter used to test the Kernel Interface directly.
Implementations§
Source§impl ConformanceExecutionAdapter
impl ConformanceExecutionAdapter
pub fn new() -> Self
pub fn with_factory(self, factory: impl ConformanceModuleFactory) -> Self
Trait Implementations§
Source§impl Debug for ConformanceExecutionAdapter
impl Debug for ConformanceExecutionAdapter
Source§impl Default for ConformanceExecutionAdapter
impl Default for ConformanceExecutionAdapter
Source§fn default() -> ConformanceExecutionAdapter
fn default() -> ConformanceExecutionAdapter
Returns the “default value” for a type. Read more
Source§impl NativeExecutionAdapter for ConformanceExecutionAdapter
impl NativeExecutionAdapter for ConformanceExecutionAdapter
Source§fn prepare(
&self,
plan: &ResolvedAppPlan,
) -> Result<PreparedNativeApp, RuntimeFailure>
fn prepare( &self, plan: &ResolvedAppPlan, ) -> Result<PreparedNativeApp, RuntimeFailure>
Instantiates the exact Plan and confirms its endpoint and binding tables.
Source§fn recreate(
&self,
plan: &ResolvedAppPlan,
instance_key: &str,
) -> Result<PreparedNativeModule, RuntimeFailure>
fn recreate( &self, plan: &ResolvedAppPlan, instance_key: &str, ) -> Result<PreparedNativeModule, RuntimeFailure>
Creates a fresh generation for one selected native Module Instance.
Auto Trait Implementations§
impl !RefUnwindSafe for ConformanceExecutionAdapter
impl !Send for ConformanceExecutionAdapter
impl !Sync for ConformanceExecutionAdapter
impl !UnwindSafe for ConformanceExecutionAdapter
impl Freeze for ConformanceExecutionAdapter
impl Unpin for ConformanceExecutionAdapter
impl UnsafeUnpin for ConformanceExecutionAdapter
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> ExecutionAdapter for Twhere
T: NativeExecutionAdapter,
impl<T> ExecutionAdapter for Twhere
T: NativeExecutionAdapter,
Source§fn execution_class(&self) -> ExecutionClassId
fn execution_class(&self) -> ExecutionClassId
Returns the open execution class implemented by this Adapter package.
Source§fn prepare(
&self,
plan: &ResolvedAppPlan,
) -> Result<PreparedNativeApp, RuntimeFailure>
fn prepare( &self, plan: &ResolvedAppPlan, ) -> Result<PreparedNativeApp, RuntimeFailure>
Instantiates the exact Plan and confirms its endpoint and binding tables.
Source§fn recreate(
&self,
plan: &ResolvedAppPlan,
instance_key: &str,
) -> Result<PreparedNativeModule, RuntimeFailure>
fn recreate( &self, plan: &ResolvedAppPlan, instance_key: &str, ) -> Result<PreparedNativeModule, RuntimeFailure>
Creates a fresh generation for one selected Module Instance. Read more