pub struct CallbackBackgroundSupervisor { /* private fields */ }Expand description
Rust-owned background process supervisor for CallbackProcessRunner.
Trait Implementations§
Source§impl BackgroundProcessControl for CallbackBackgroundSupervisor
impl BackgroundProcessControl for CallbackBackgroundSupervisor
Source§fn list(&self) -> Vec<BackgroundProcessSummary>
fn list(&self) -> Vec<BackgroundProcessSummary>
Lists retained processes, refreshing exit state first.
Source§fn read(
&self,
id: &BackgroundProcessId,
) -> Result<BackgroundProcessOutput, BackgroundProcessLookupError>
fn read( &self, id: &BackgroundProcessId, ) -> Result<BackgroundProcessOutput, BackgroundProcessLookupError>
Returns one process and the output captured since it started.
Source§fn stop(
&self,
id: &BackgroundProcessId,
) -> Result<BackgroundProcessStop, BackgroundProcessLookupError>
fn stop( &self, id: &BackgroundProcessId, ) -> Result<BackgroundProcessStop, BackgroundProcessLookupError>
Kills one retained process group. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CallbackBackgroundSupervisor
impl !UnwindSafe for CallbackBackgroundSupervisor
impl Forget for CallbackBackgroundSupervisor
impl Freeze for CallbackBackgroundSupervisorwhere
*const ArcInner<CallbackBackgroundSupervisorInner> is !null: Freeze,
PhantomData<ArcInner<CallbackBackgroundSupervisorInner>>: Freeze,
impl Move for CallbackBackgroundSupervisor
impl Send for CallbackBackgroundSupervisor
impl Sync for CallbackBackgroundSupervisor
impl Unpin for CallbackBackgroundSupervisor
impl UnsafeUnpin for CallbackBackgroundSupervisorwhere
*const ArcInner<CallbackBackgroundSupervisorInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<CallbackBackgroundSupervisorInner>>: UnsafeUnpin,
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