pub struct Runtime {
pub version: String,
pub internal: Rc<RuntimeInternal>,
}Fields§
§version: String§internal: Rc<RuntimeInternal>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 com_hub(&self) -> Rc<ComHub>
pub fn endpoint(&self) -> Endpoint
pub fn internal(&self) -> Rc<RuntimeInternal>
pub fn memory(&self) -> &RefCell<Memory>
pub async fn execute_dxb<'a>( &'a self, dxb: Vec<u8>, execution_context: Option<&'a mut ExecutionContext>, end_execution: bool, ) -> Result<Option<ValueContainer>, ExecutionError>
pub fn execute_dxb_sync( &self, dxb: &[u8], execution_context: Option<&mut ExecutionContext>, end_execution: bool, ) -> Result<Option<ValueContainer>, ExecutionError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl !UnwindSafe 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 more