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§
Object Safety§
This trait is not object safe.
pub trait Detach: Sized {
// Provided method
fn detach(self) { ... }
}
Detaches the task related to the join handle to let it keep running in the background.