pub struct ScriptOutcome {
pub output: String,
pub exit_code: ExitCode,
pub truncated: bool,
pub capability_calls: u32,
pub steps: u64,
}Expand description
Everything one script execution produced.
Fields§
§output: StringCombined stdout and stderr, already truncated to the configured ceilings.
exit_code: ExitCodeThe script’s exit code.
truncated: boolWhether output was dropped to stay under the ceilings.
capability_calls: u32Capability invocations this script drove.
steps: u64Evaluation steps this script charged.
Trait Implementations§
Source§impl Clone for ScriptOutcome
impl Clone for ScriptOutcome
Source§fn clone(&self) -> ScriptOutcome
fn clone(&self) -> ScriptOutcome
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 ScriptOutcome
impl Debug for ScriptOutcome
impl Eq for ScriptOutcome
Source§impl PartialEq for ScriptOutcome
impl PartialEq for ScriptOutcome
impl StructuralPartialEq for ScriptOutcome
Auto Trait Implementations§
impl Freeze for ScriptOutcome
impl RefUnwindSafe for ScriptOutcome
impl Send for ScriptOutcome
impl Sync for ScriptOutcome
impl Unpin for ScriptOutcome
impl UnsafeUnpin for ScriptOutcome
impl UnwindSafe for ScriptOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.