pub struct NativeRuntime;Expand description
Native runtime — full access, runs on Mac/Linux/Windows/Raspberry Pi
Implementations§
Source§impl NativeRuntime
impl NativeRuntime
Trait Implementations§
Source§impl Default for NativeRuntime
impl Default for NativeRuntime
Source§impl RuntimeAdapter for NativeRuntime
impl RuntimeAdapter for NativeRuntime
Source§fn has_shell_access(&self) -> bool
fn has_shell_access(&self) -> bool
Report whether this runtime supports shell command execution. Read more
Source§fn has_filesystem_access(&self) -> bool
fn has_filesystem_access(&self) -> bool
Report whether this runtime supports filesystem read/write. Read more
Source§fn storage_path(&self) -> PathBuf
fn storage_path(&self) -> PathBuf
Return the base directory for persistent storage on this runtime. Read more
Source§fn supports_long_running(&self) -> bool
fn supports_long_running(&self) -> bool
Report whether this runtime supports long-running background processes. Read more
Source§fn build_shell_command(
&self,
command: &str,
workspace_dir: &Path,
) -> Result<Command>
fn build_shell_command( &self, command: &str, workspace_dir: &Path, ) -> Result<Command>
Build a shell command process configured for this runtime. Read more
Source§fn memory_budget(&self) -> u64
fn memory_budget(&self) -> u64
Return the maximum memory budget in bytes for this runtime. Read more
Auto Trait Implementations§
impl Freeze for NativeRuntime
impl RefUnwindSafe for NativeRuntime
impl Send for NativeRuntime
impl Sync for NativeRuntime
impl Unpin for NativeRuntime
impl UnsafeUnpin for NativeRuntime
impl UnwindSafe for NativeRuntime
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