pub trait SpawnedChildControl:
Send
+ Sync
+ UnwindSafe
+ RefUnwindSafe {
// Required methods
fn kill(&mut self) -> Result<()>;
fn wait(&mut self) -> Result<i32>;
fn try_wait(&mut self) -> Result<Option<i32>>;
fn shutdown(&mut self);
}Expand description
Native control operations for a contained child.
This trait is exposed so facade crates can preserve the contained-child type identity. Constructing an implementation remains the responsibility of the platform substrate.
Required Methods§
fn kill(&mut self) -> Result<()>
fn wait(&mut self) -> Result<i32>
fn try_wait(&mut self) -> Result<Option<i32>>
fn shutdown(&mut self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".