pub struct PythonExecutionEngine { /* private fields */ }Implementations§
Source§impl PythonExecutionEngine
impl PythonExecutionEngine
pub fn bundled_pyodide_dist_path_for_vm( &mut self, vm_id: &str, ) -> Result<PathBuf, PythonExecutionError>
pub fn create_context( &mut self, request: CreatePythonContextRequest, ) -> PythonContext
pub fn start_execution( &mut self, request: StartPythonExecutionRequest, ) -> Result<PythonExecution, PythonExecutionError>
pub fn dispose_vm(&mut self, vm_id: &str)
Trait Implementations§
Source§impl Debug for PythonExecutionEngine
impl Debug for PythonExecutionEngine
Source§impl Default for PythonExecutionEngine
impl Default for PythonExecutionEngine
Source§fn default() -> PythonExecutionEngine
fn default() -> PythonExecutionEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PythonExecutionEngine
impl RefUnwindSafe for PythonExecutionEngine
impl Send for PythonExecutionEngine
impl Sync for PythonExecutionEngine
impl Unpin for PythonExecutionEngine
impl UnsafeUnpin for PythonExecutionEngine
impl UnwindSafe for PythonExecutionEngine
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