pub enum LaunchOutcome {
ReplacedProcess,
Exited(i32),
}Expand description
How a launch ended (spec §25).
Variants§
ReplacedProcess
Unix: exec never returns on success, so this is never constructed there. Kept for spec §25.
Exited(i32)
Windows: the child’s full 32-bit exit code.
Trait Implementations§
Source§impl Clone for LaunchOutcome
impl Clone for LaunchOutcome
Source§fn clone(&self) -> LaunchOutcome
fn clone(&self) -> LaunchOutcome
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 moreimpl Copy for LaunchOutcome
Source§impl Debug for LaunchOutcome
impl Debug for LaunchOutcome
impl Eq for LaunchOutcome
Source§impl PartialEq for LaunchOutcome
impl PartialEq for LaunchOutcome
impl StructuralPartialEq for LaunchOutcome
Auto Trait Implementations§
impl Freeze for LaunchOutcome
impl RefUnwindSafe for LaunchOutcome
impl Send for LaunchOutcome
impl Sync for LaunchOutcome
impl Unpin for LaunchOutcome
impl UnsafeUnpin for LaunchOutcome
impl UnwindSafe for LaunchOutcome
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.