pub struct JobTailReply {
pub found: bool,
pub running: bool,
pub stdout: String,
pub stderr: String,
pub stdout_truncated: bool,
pub stderr_truncated: bool,
}Expand description
Agent’s reply with the current captured tail.
found = false means the agent has no live buffer for this
result_id (never started here, or already evicted past the grace
window) — the caller should fall back to the stored result row.
Fields§
§found: boolThe agent currently holds a live buffer for this result_id.
running: boolThe child process is still executing. false once it has
exited but the buffer is being retained through the grace
window so the final tail is still serveable.
stdout: Stringstdout tail (lossy UTF-8). Bounded by the agent’s ring cap.
stderr: Stringstderr tail (lossy UTF-8). Bounded by the agent’s ring cap.
stdout_truncated: boolThe ring dropped older stdout bytes to stay under the cap, so
stdout is a suffix of the real output, not the whole of it.
stderr_truncated: boolAs stdout_truncated, for stderr.
Trait Implementations§
Source§impl Clone for JobTailReply
impl Clone for JobTailReply
Source§fn clone(&self) -> JobTailReply
fn clone(&self) -> JobTailReply
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 JobTailReply
impl Debug for JobTailReply
Source§impl Default for JobTailReply
impl Default for JobTailReply
Source§fn default() -> JobTailReply
fn default() -> JobTailReply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobTailReplywhere
JobTailReply: Default,
impl<'de> Deserialize<'de> for JobTailReplywhere
JobTailReply: Default,
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 JobTailReply
impl RefUnwindSafe for JobTailReply
impl Send for JobTailReply
impl Sync for JobTailReply
impl Unpin for JobTailReply
impl UnsafeUnpin for JobTailReply
impl UnwindSafe for JobTailReply
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