pub struct RuntimeInternal { /* private fields */ }Implementations§
Source§impl RuntimeInternal
impl 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 stub() -> RuntimeInternal
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 !Freeze for RuntimeInternal
impl !RefUnwindSafe for RuntimeInternal
impl !Send for RuntimeInternal
impl !Sync for RuntimeInternal
impl !UnwindSafe for RuntimeInternal
impl Unpin for RuntimeInternal
impl UnsafeUnpin for RuntimeInternal
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> 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