pub struct ProcessRegistry { /* private fields */ }Implementations§
Source§impl ProcessRegistry
impl ProcessRegistry
pub fn new() -> Self
pub async fn run_command( &self, root: &Path, value: Value, cancel: CancellationToken, ) -> Result<Value, ExeoraError>
pub async fn start_command( &self, root: &Path, value: Value, ) -> Result<Value, ExeoraError>
pub async fn get_output( &self, root: &Path, value: Value, ) -> Result<Value, ExeoraError>
pub async fn send_input( &self, root: &Path, value: Value, ) -> Result<Value, ExeoraError>
pub async fn kill_command( &self, root: &Path, value: Value, ) -> Result<Value, ExeoraError>
pub async fn kill_all(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProcessRegistry
impl !RefUnwindSafe for ProcessRegistry
impl !UnwindSafe for ProcessRegistry
impl Send for ProcessRegistry
impl Sync for ProcessRegistry
impl Unpin for ProcessRegistry
impl UnsafeUnpin for ProcessRegistry
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