pub enum RuntimeAgentFrame {
Started {
pid: Option<u32>,
detail: Option<String>,
},
Stdout {
data_b64: String,
},
Stderr {
data_b64: String,
},
Exit {
code: Option<i32>,
timed_out: bool,
output_truncated: bool,
},
Error {
message: String,
},
}Expand description
Agent-to-client runtime debug frames, relayed by the manager.
Variants§
Started
The process has started.
Fields
Stdout
Standard output bytes, base64-encoded.
Stderr
Standard error bytes, base64-encoded.
Exit
The process exited.
Fields
Error
The remote runtime failed before producing an exit code.
Trait Implementations§
Source§impl Clone for RuntimeAgentFrame
impl Clone for RuntimeAgentFrame
Source§fn clone(&self) -> RuntimeAgentFrame
fn clone(&self) -> RuntimeAgentFrame
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 RuntimeAgentFrame
impl Debug for RuntimeAgentFrame
Source§impl<'de> Deserialize<'de> for RuntimeAgentFrame
impl<'de> Deserialize<'de> for RuntimeAgentFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeAgentFrame
impl RefUnwindSafe for RuntimeAgentFrame
impl Send for RuntimeAgentFrame
impl Sync for RuntimeAgentFrame
impl Unpin for RuntimeAgentFrame
impl UnsafeUnpin for RuntimeAgentFrame
impl UnwindSafe for RuntimeAgentFrame
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