pub enum RunEvent {
ProcessCreationFailed(String),
ProcessCreated,
ProcessEnd(bool),
ProcessNewOutputLine(String),
}Expand description
Events emitted during process execution.
Variants§
ProcessCreationFailed(String)
Process creation failed with error message.
ProcessCreated
Process was successfully created.
ProcessEnd(bool)
Process ended (true = success, false = failure).
ProcessNewOutputLine(String)
New output line from the process.
Trait Implementations§
impl StructuralPartialEq for RunEvent
Auto Trait Implementations§
impl Freeze for RunEvent
impl RefUnwindSafe for RunEvent
impl Send for RunEvent
impl Sync for RunEvent
impl Unpin for RunEvent
impl UnsafeUnpin for RunEvent
impl UnwindSafe for RunEvent
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