pub struct ShellProcess {
pub pty: ServerPty,
/* private fields */
}
Fields§
§pty: ServerPty
Implementations§
Source§impl ShellProcess
impl ShellProcess
Sourcepub fn process_info(&self) -> Result<ProcessInfo, Error>
pub fn process_info(&self) -> Result<ProcessInfo, Error>
Returns the shell process info, if available.
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Checks that the shell process has been started and has not exited.
Auto Trait Implementations§
impl Freeze for ShellProcess
impl !RefUnwindSafe for ShellProcess
impl Send for ShellProcess
impl Sync for ShellProcess
impl Unpin for ShellProcess
impl !UnwindSafe for ShellProcess
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