pub struct CourierOutput {
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub timed_out: bool,
}Expand description
What a courier process produced.
Fields§
§exit_code: Option<i32>Process exit code, when it exited on its own.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr, reported verbatim in a delivery failure.
timed_out: boolWhether the process was killed after exceeding its timeout.
Trait Implementations§
Source§impl Clone for CourierOutput
impl Clone for CourierOutput
Source§fn clone(&self) -> CourierOutput
fn clone(&self) -> CourierOutput
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 CourierOutput
impl Debug for CourierOutput
Source§impl Default for CourierOutput
impl Default for CourierOutput
Source§fn default() -> CourierOutput
fn default() -> CourierOutput
Returns the “default value” for a type. Read more
impl Eq for CourierOutput
Source§impl PartialEq for CourierOutput
impl PartialEq for CourierOutput
impl StructuralPartialEq for CourierOutput
Auto Trait Implementations§
impl Freeze for CourierOutput
impl RefUnwindSafe for CourierOutput
impl Send for CourierOutput
impl Sync for CourierOutput
impl Unpin for CourierOutput
impl UnsafeUnpin for CourierOutput
impl UnwindSafe for CourierOutput
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
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,
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§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.