pub struct RunnerExit {
pub phase: RunnerExitPhase,
pub exit_code: Option<i64>,
pub signal: Option<String>,
}Expand description
How the self-hosted runner’s session process terminated, carried on a
synthesized failure ResultMessage as ResultMessage::runner_exit
(CLI 2.1.266+).
Fields§
§phase: RunnerExitPhaseWhich phase the process was in when it exited.
exit_code: Option<i64>Process exit code. Absent (or wire null) when it exited on a signal
instead, or when the runner did not capture one.
signal: Option<String>Terminating signal name. Absent (or wire null) when it exited with a
code instead, or when the runner did not capture one.
Trait Implementations§
Source§impl Clone for RunnerExit
impl Clone for RunnerExit
Source§fn clone(&self) -> RunnerExit
fn clone(&self) -> RunnerExit
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 RunnerExit
impl Debug for RunnerExit
Source§impl<'de> Deserialize<'de> for RunnerExit
impl<'de> Deserialize<'de> for RunnerExit
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
Source§impl PartialEq for RunnerExit
impl PartialEq for RunnerExit
Source§impl Serialize for RunnerExit
impl Serialize for RunnerExit
impl StructuralPartialEq for RunnerExit
Auto Trait Implementations§
impl Freeze for RunnerExit
impl RefUnwindSafe for RunnerExit
impl Send for RunnerExit
impl Sync for RunnerExit
impl Unpin for RunnerExit
impl UnsafeUnpin for RunnerExit
impl UnwindSafe for RunnerExit
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