pub enum RuntimeCommand {
CreateSession {
session_id: String,
heap_limit_mb: Option<u32>,
cpu_time_limit_ms: Option<u32>,
wall_clock_limit_ms: Option<u32>,
warm_hint: Option<WarmSessionHint>,
},
DestroySession {
session_id: String,
},
WarmSnapshot {
bridge_code: String,
userland_code: String,
},
SendToSession {
session_id: String,
message: SessionMessage,
},
SetSessionModuleReader {
session_id: String,
reader: ModuleReaderHandle,
},
}Variants§
CreateSession
Fields
§
warm_hint: Option<WarmSessionHint>DestroySession
WarmSnapshot
SendToSession
SetSessionModuleReader
Install a direct module-source reader on a session thread. Carries the live
reader (not serialized) so module loads skip the bridge round-trip. Routed
through the dispatch thread (which owns the session manager) like
SendToSession, then forwarded as a SessionCommand::SetModuleReader.
Trait Implementations§
Source§impl Clone for RuntimeCommand
impl Clone for RuntimeCommand
Source§fn clone(&self) -> RuntimeCommand
fn clone(&self) -> RuntimeCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeCommand
impl Debug for RuntimeCommand
Source§impl PartialEq for RuntimeCommand
impl PartialEq for RuntimeCommand
Source§fn eq(&self, other: &RuntimeCommand) -> bool
fn eq(&self, other: &RuntimeCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeCommand
Source§impl TryFrom<BinaryFrame> for RuntimeCommand
impl TryFrom<BinaryFrame> for RuntimeCommand
Auto Trait Implementations§
impl Freeze for RuntimeCommand
impl RefUnwindSafe for RuntimeCommand
impl Send for RuntimeCommand
impl Sync for RuntimeCommand
impl Unpin for RuntimeCommand
impl UnsafeUnpin for RuntimeCommand
impl UnwindSafe for RuntimeCommand
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