pub struct Runtime { /* private fields */ }Implementations§
Source§impl Runtime
publicly exposed wrapper impl for the Runtime
around RuntimeInternal
impl Runtime
publicly exposed wrapper impl for the Runtime around RuntimeInternal
pub fn stub() -> Runtime
pub async fn execute_dxb<'a>( &'a self, input: DXBWithSharedValues, execution_context: Option<&'a mut ExecutionContext>, end_execution: bool, ) -> Result<Option<ValueContainer>, ExecutionError>
pub fn execute_dxb_sync( &self, input: DXBWithSharedValues, execution_context: Option<&mut ExecutionContext>, end_execution: bool, ) -> Result<Option<ValueContainer>, ExecutionError>
Methods from Deref<Target = RuntimeInternal>§
pub fn version(&self) -> &str
pub fn config(&self) -> &RuntimeConfig
pub fn com_hub(&self) -> Rc<ComHub>
pub fn endpoint(&self) -> &Endpoint
pub fn pointer_availability_lookup(&self) -> Ref<'_, PointerAvailabilityLookup>
pub fn pointer_availability_lookup_mut( &self, ) -> RefMut<'_, PointerAvailabilityLookup>
pub fn memory(&self) -> &RefCell<SharedReferencesCache>
pub fn core_library(&self) -> &CoreLibrary
pub fn pointer_address_provider( &self, ) -> &RefCell<SelfOwnedPointerAddressProvider>
pub fn incoming_sections_receiver_mut( &self, ) -> RefMut<'_, UnboundedReceiver<IncomingSection>>
pub fn incoming_sections_receiver( &self, ) -> Ref<'_, UnboundedReceiver<IncomingSection>>
pub fn task_manager(&self) -> &TaskManager
pub fn execute_dxb<'a>( self: Rc<RuntimeInternal>, input: DXBWithSharedValues, execution_context: Option<&'a mut ExecutionContext>, _end_execution: bool, ) -> Pin<Box<dyn Future<Output = Result<Option<ValueContainer>, ExecutionError>> + 'a>>
pub fn execute_dxb_sync( self: Rc<RuntimeInternal>, dxb: DXBWithSharedValues, execution_context: Option<&mut ExecutionContext>, _end_execution: bool, ) -> Result<Option<ValueContainer>, ExecutionError>
pub async fn execute_remote( self: Rc<RuntimeInternal>, remote_execution_context: &mut RemoteExecutionContext, input: DXBWithSharedValues, ) -> Result<Option<ValueContainer>, ExecutionError>
Registers a list of shared containers for a single endpoint.
Registers a list of shared containers for a list of endpoints. The caller must ensure that endpoints is not empty.
pub fn get_env(&self) -> HashMap<String, String>
Sourcepub fn create_dif_interface(&self) -> DIFInterface
pub fn create_dif_interface(&self) -> DIFInterface
Creates a new DIFInterface with a unique transceiver id and the runtime’s pointer address provider
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl !UnwindSafe for Runtime
impl Freeze for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type