pub struct ProcessManagerHandle { /* private fields */ }Implementations§
Source§impl ProcessManagerHandle
impl ProcessManagerHandle
pub fn send( &self, action: ProcessAction, ) -> TogetherResult<ProcessActionResponse>
pub fn subscribe(&self) -> ProcessManagerHandle
pub fn list(&self) -> TogetherResult<Vec<ProcessId>>
pub fn spawn(&self, command: &str) -> TogetherResult<ProcessId>
pub fn spawn_advanced( &self, command: &str, options: &CreateOptions, ) -> TogetherResult<ProcessId>
pub fn kill(&self, id: ProcessId) -> TogetherResult<Option<()>>
pub fn restart( &self, id: ProcessId, command: &str, ) -> TogetherResult<Option<ProcessId>>
pub fn wait(&self, id: ProcessId) -> TogetherResult<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessManagerHandle
impl !RefUnwindSafe for ProcessManagerHandle
impl Send for ProcessManagerHandle
impl Sync for ProcessManagerHandle
impl Unpin for ProcessManagerHandle
impl !UnwindSafe for ProcessManagerHandle
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