pub enum SetsidOutcome {
Spawned {
child_pid: u32,
},
Completed {
child_pid: u32,
exit_status: ExitStatus,
},
}Expand description
Outcome of setsid execution.
Variants§
Spawned
Child spawned successfully in new session.
When wait: false, the child continues running detached.
Completed
Child completed (when wait: true).
Fields
§
exit_status: ExitStatusExit status of the child.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SetsidOutcome
impl Freeze for SetsidOutcome
impl Move for SetsidOutcome
impl RefUnwindSafe for SetsidOutcome
impl Send for SetsidOutcome
impl Sync for SetsidOutcome
impl Unpin for SetsidOutcome
impl UnsafeUnpin for SetsidOutcome
impl UnwindSafe for SetsidOutcome
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