pub trait Detach: Sized {
// Provided method
fn detach(self) { ... }
}
Expand description
Detaches the task related to the join handle to let it keep running in the background.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.