Skip to main content

ChildCompletionHandler

Trait ChildCompletionHandler 

Source
pub trait ChildCompletionHandler: Send + Sync {
    // Required method
    fn on_child_completed<'life0, 'async_trait>(
        &'life0 self,
        completion: ChildCompletion,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Application-layer callback invoked when a child session reaches a terminal state. Implementations must be idempotent: duplicate completion events for the same child can occur when watchdog timeout races normal runner teardown.

Required Methods§

Source

fn on_child_completed<'life0, 'async_trait>( &'life0 self, completion: ChildCompletion, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§