pub enum NohupOutcome {
Spawned {
child_pid: u32,
output_file: Option<String>,
},
Completed {
child_pid: u32,
exit_status: ExitStatus,
output_file: Option<String>,
},
}Expand description
Outcome of nohup execution.
Variants§
Spawned
Child spawned successfully with SIGHUP ignored.
Fields
Completed
Child completed (when wait: true).
Trait Implementations§
Auto Trait Implementations§
impl Forget for NohupOutcome
impl Freeze for NohupOutcome
impl Move for NohupOutcome
impl RefUnwindSafe for NohupOutcome
impl Send for NohupOutcome
impl Sync for NohupOutcome
impl Unpin for NohupOutcome
impl UnsafeUnpin for NohupOutcome
impl UnwindSafe for NohupOutcome
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