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,
},
PauseSession {
session_id: String,
},
ResumeSession {
session_id: String,
},
WarmSnapshot {
bridge_code: String,
userland_code: String,
},
SendToSession {
session_id: String,
message: SessionMessage,
},
PublishReadiness {
session_id: String,
capability_id: u64,
capability_generation: u64,
flags: ReadyFlags,
},
RemoveReadiness {
session_id: String,
capability_id: u64,
capability_generation: u64,
},
PublishSignal {
session_id: String,
signal: i32,
},
PublishTimer {
session_id: String,
timer_id: u64,
},
SetSessionModuleReader {
session_id: String,
reader: ModuleReaderHandle,
},
}Variants§
CreateSession
Fields
§
warm_hint: Option<WarmSessionHint>DestroySession
PauseSession
ResumeSession
WarmSnapshot
SendToSession
PublishReadiness
In-process capability readiness publication. Durable data stays in the owning sidecar subsystem; this command carries identity and level state.
RemoveReadiness
PublishSignal
PublishTimer
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
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