pub enum ShellEvent {
Output(Vec<u8>),
Exit(i32),
Error(String),
}Expand description
Events from an interactive shell session.
Variants§
Output(Vec<u8>)
Terminal output bytes (PTY stdout).
Exit(i32)
Process exited with code.
Error(String)
Error from guest.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShellEvent
impl RefUnwindSafe for ShellEvent
impl Send for ShellEvent
impl Sync for ShellEvent
impl Unpin for ShellEvent
impl UnsafeUnpin for ShellEvent
impl UnwindSafe for ShellEvent
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