pub struct Runtime {
pub temp_vmstr: Arc<Mutex<HashSet<(u64, usize)>>>,
pub memory: RwLock<SharedMemory>,
pub tokio_rt: Arc<Runtime>,
pub extensions: Extensions,
pub archive: Arc<Archive>,
pub shutdown: AtomicBool,
pub initial_inst: u64,
pub base: u64,
pub ffi: FfiBindings,
pub extension_data: ExtensionData,
pub stack_size: usize,
pub executor: Executor,
/* private fields */
}Fields§
§temp_vmstr: Arc<Mutex<HashSet<(u64, usize)>>>§memory: RwLock<SharedMemory>§tokio_rt: Arc<Runtime>§extensions: Extensions§archive: Arc<Archive>§shutdown: AtomicBool§initial_inst: u64§base: u64§ffi: FfiBindings§extension_data: ExtensionData§stack_size: usize§executor: ExecutorImplementations§
Source§impl Runtime
impl Runtime
pub fn dispatch_extension_event(self: &Arc<Self>, event: EventType)
pub fn send_extension_event(self: &Arc<Self>, target: u32, event: EventType)
pub fn dispose_thread(&self, thread: VThread)
pub fn shutdown(&self, shutdown_type: ShutdownType)
pub async fn set_error_data(&self, data: String)
pub async fn spawn(self: &Arc<Self>, addr: u64)
Auto Trait Implementations§
impl !Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin 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