pub struct RuntimeExecutionState {
pub stack: RuntimeExecutionStack,
pub runtime: Runtime,
pub source_id: TransceiverId,
pub caller_metadata: ExecutionCallerMetadata,
pub shared_value_cache: SharedValuesCache,
}Fields§
§stack: RuntimeExecutionStackLocal memory stack for current execution context.
runtime: Runtime§source_id: TransceiverId§caller_metadata: ExecutionCallerMetadataImplementations§
Source§impl RuntimeExecutionState
impl RuntimeExecutionState
Sourcepub fn normalize_pointer_address(
&self,
address: &PointerAddress,
) -> PointerAddress
pub fn normalize_pointer_address( &self, address: &PointerAddress, ) -> PointerAddress
Normalizes a pointer address to ensure it is in the correct form for the current execution context. For self-owned addresses, it converts them to remote addresses owned by the caller’s endpoint. For remote addresses, it ensures that if the address is local to the current runtime, it is normalized to a @@local address.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeExecutionState
impl !Send for RuntimeExecutionState
impl !Sync for RuntimeExecutionState
impl !UnwindSafe for RuntimeExecutionState
impl Forget for RuntimeExecutionState
impl Freeze for RuntimeExecutionState
impl Move for RuntimeExecutionState
impl Unpin for RuntimeExecutionState
impl UnsafeUnpin for RuntimeExecutionState
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