pub enum ListenEvent {
Start,
Line(String),
End(Result<(), ErrorEvent>),
}
Expand description
The events generated by SubprocListen
.
Variants§
Start
The subprocess was started.
Line(String)
A line was received from the subprocess.
End(Result<(), ErrorEvent>)
The subprocess has ended.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListenEvent
impl !RefUnwindSafe for ListenEvent
impl Send for ListenEvent
impl Sync for ListenEvent
impl Unpin for ListenEvent
impl !UnwindSafe for ListenEvent
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