pub struct UnixProcessManager { /* private fields */ }Expand description
Unix-specific process manager.
Implementations§
Trait Implementations§
Source§impl Debug for UnixProcessManager
impl Debug for UnixProcessManager
Source§impl Default for UnixProcessManager
impl Default for UnixProcessManager
Source§impl ProcessManager for UnixProcessManager
impl ProcessManager for UnixProcessManager
Source§fn spawn<'life0, 'async_trait>(
&'life0 mut self,
spec: CommandSpec,
) -> Pin<Box<dyn Future<Output = Result<Spawned>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn spawn<'life0, 'async_trait>(
&'life0 mut self,
spec: CommandSpec,
) -> Pin<Box<dyn Future<Output = Result<Spawned>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Spawn a new process.
Source§fn shutdown<'life0, 'async_trait>(
&'life0 mut self,
id: ProcId,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 mut self,
id: ProcId,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gracefully shutdown a process.
Auto Trait Implementations§
impl Freeze for UnixProcessManager
impl !RefUnwindSafe for UnixProcessManager
impl Send for UnixProcessManager
impl Sync for UnixProcessManager
impl Unpin for UnixProcessManager
impl !UnwindSafe for UnixProcessManager
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