pub struct ExitInfo {
pub launch: u64,
pub code: Option<i32>,
pub success: bool,
}Expand description
How a child that exited by itself ended (what SupervisorHooks::exit_action is asked about
and what SupervisorHandle::last_exit reports).
Fields§
§launch: u64The 1-based launch count of the child that exited.
code: Option<i32>Its exit code, when it had one (a signal gives none on Unix).
success: boolTrait Implementations§
impl Copy for ExitInfo
impl Eq for ExitInfo
impl StructuralPartialEq for ExitInfo
Auto Trait Implementations§
impl Freeze for ExitInfo
impl RefUnwindSafe for ExitInfo
impl Send for ExitInfo
impl Sync for ExitInfo
impl Unpin for ExitInfo
impl UnsafeUnpin for ExitInfo
impl UnwindSafe for ExitInfo
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