pub struct Spawned { /* private fields */ }Expand description
A child that Spawn::start started, which a hook returns to the run.
Only Spawn::start makes this value, so a hook that returns Ok has
started the child. Dropping it kills the child and every process in its
scope and reaps the child.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Spawned
impl Freeze for Spawned
impl RefUnwindSafe for Spawned
impl Send for Spawned
impl Sync for Spawned
impl Unpin for Spawned
impl UnsafeUnpin for Spawned
impl UnwindSafe for Spawned
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