pub struct ShellRegistry { /* private fields */ }Implementations§
Source§impl ShellRegistry
impl ShellRegistry
pub fn new() -> Self
pub async fn run_sync( &self, command: &str, timeout: Option<Duration>, ) -> AppResult<String>
pub async fn run_background(&self, command: &str) -> AppResult<String>
pub async fn read_background( &self, handle: &str, full: bool, ) -> AppResult<String>
pub async fn kill_background(&self, handle: &str) -> AppResult<String>
pub async fn list_background(&self) -> String
Auto Trait Implementations§
impl !Freeze for ShellRegistry
impl !RefUnwindSafe for ShellRegistry
impl Send for ShellRegistry
impl Sync for ShellRegistry
impl Unpin for ShellRegistry
impl UnsafeUnpin for ShellRegistry
impl !UnwindSafe for ShellRegistry
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