#[repr(i32)]pub enum RequestType {
Show 43 variants
Unspecified = 0,
Register = 10,
Unregister = 11,
SpawnDaemon = 12,
ListActive = 20,
ListByOriginator = 21,
GetProcessTree = 22,
KillZombies = 30,
KillTree = 31,
Ping = 40,
Shutdown = 41,
Status = 42,
ServiceStart = 50,
ServiceStop = 51,
ServiceRestart = 52,
ServiceDelete = 53,
ServiceList = 54,
ServiceDescribe = 55,
ServiceLogs = 56,
ServiceFlush = 57,
ServiceSave = 58,
ServiceResurrect = 59,
SpawnPtySession = 60,
AttachPtySession = 61,
DetachPtySession = 62,
ListPtySessions = 63,
TerminatePtySession = 64,
SpawnPipeSession = 65,
AttachPipeStream = 66,
DetachPipeStream = 67,
ListPipeSessions = 68,
TerminatePipeSession = 69,
WritePipeStdin = 70,
GetSessionBacklog = 71,
PurgeExitedSessions = 72,
BulkTerminateSessions = 73,
ResizePtySession = 74,
RegisterSessionTee = 75,
UnregisterSessionTee = 76,
GetSessionTeeStatus = 77,
RegisterSessionObserver = 78,
UnregisterSessionObserver = 79,
GetSessionObserverStatus = 80,
}Variants§
Unspecified = 0
Register = 10
Unregister = 11
SpawnDaemon = 12
ListActive = 20
ListByOriginator = 21
GetProcessTree = 22
KillZombies = 30
KillTree = 31
Ping = 40
Shutdown = 41
Status = 42
ServiceStart = 50
Service supervision (runpm) — Phase 1 ships stubs that respond OK.
ServiceStop = 51
ServiceRestart = 52
ServiceDelete = 53
ServiceList = 54
ServiceDescribe = 55
ServiceLogs = 56
ServiceFlush = 57
ServiceSave = 58
ServiceResurrect = 59
SpawnPtySession = 60
Detachable PTY sessions (issue #130 milestone 2).
AttachPtySession = 61
DetachPtySession = 62
ListPtySessions = 63
TerminatePtySession = 64
SpawnPipeSession = 65
Detachable pipe-backed sessions (issue #130 milestone 3). Pipe sessions own three independently-attachable streams (stdin is write-only, exposed as WRITE_PIPE_STDIN; stdout and stderr are streaming attaches via ATTACH_PIPE_STREAM with a stream selector).
AttachPipeStream = 66
DetachPipeStream = 67
ListPipeSessions = 68
TerminatePipeSession = 69
WritePipeStdin = 70
GetSessionBacklog = 71
Session backlog snapshot (#130 milestone 7 B4). Returns the current ring-buffer contents for any daemon-owned session (PTY or pipe) without consuming them — same buffer continues to fill, and a real attach later still sees the same backlog.
PurgeExitedSessions = 72
Bulk session ops (#130 milestone 9 H4).
BulkTerminateSessions = 73
ResizePtySession = 74
Resize a PTY session without attaching (#130 M5 follow-up).
RegisterSessionTee = 75
Optional daemon-owned tee telemetry (#131).
UnregisterSessionTee = 76
GetSessionTeeStatus = 77
RegisterSessionObserver = 78
Optional daemon-owned observer subscriptions (#221 Phase 2 / #429).
UnregisterSessionObserver = 79
GetSessionObserverStatus = 80
Implementations§
Source§impl RequestType
impl RequestType
Source§impl RequestType
impl RequestType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for RequestType
impl Clone for RequestType
Source§fn clone(&self) -> RequestType
fn clone(&self) -> RequestType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more