pub struct HostExit {
pub code: Option<i32>,
pub signal: Option<i32>,
}Expand description
How a program exited.
Fields§
§code: Option<i32>The exit code, or None if a signal ended the program.
signal: Option<i32>The signal that ended the program, where the OS reports one.
Trait Implementations§
impl Copy for HostExit
impl Eq for HostExit
impl StructuralPartialEq for HostExit
Auto Trait Implementations§
impl Freeze for HostExit
impl RefUnwindSafe for HostExit
impl Send for HostExit
impl Sync for HostExit
impl Unpin for HostExit
impl UnsafeUnpin for HostExit
impl UnwindSafe for HostExit
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.