pub struct ShellOutput {
pub stdout: String,
pub stderr: String,
pub interleaved: String,
pub exit_code: Option<i32>,
pub timed_out: bool,
pub output_truncated: bool,
pub output_collection_error: Option<String>,
pub stdout_path: Option<String>,
pub stderr_path: Option<String>,
pub filter_applied: Option<String>,
}Fields§
§stdout: StringStandard output from the command.
stderr: StringStandard error from the command.
interleaved: StringStdout and stderr interleaved in arrival order.
exit_code: Option<i32>Exit code; null if killed by timeout.
timed_out: boolTrue if the command was killed due to timeout.
output_truncated: boolTrue if the post-exit drain timed out (backgrounded process kept pipes open). When true, any available output is still included; use the overflow file path from the truncation notice Content block to recover the full output.
output_collection_error: Option<String>Set when the post-exit drain timed out because a background process held the
pipes open. Distinct from output_truncated (size cap) – this indicates a
drain timeout rather than a size overflow.
stdout_path: Option<String>Path to the slot file containing full stdout (if output was persisted).
stderr_path: Option<String>Path to the slot file containing full stderr (if output was persisted).
filter_applied: Option<String>Description of the filter applied to stdout (if any).
Implementations§
Trait Implementations§
Source§impl Clone for ShellOutput
impl Clone for ShellOutput
Source§fn clone(&self) -> ShellOutput
fn clone(&self) -> ShellOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ShellOutput
impl Debug for ShellOutput
Source§impl<'de> Deserialize<'de> for ShellOutput
impl<'de> Deserialize<'de> for ShellOutput
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>,
Source§impl JsonSchema for ShellOutput
impl JsonSchema for ShellOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ShellOutput
impl RefUnwindSafe for ShellOutput
impl Send for ShellOutput
impl Sync for ShellOutput
impl Unpin for ShellOutput
impl UnsafeUnpin for ShellOutput
impl UnwindSafe for ShellOutput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more