pub trait JoinHandle<O>: Future<Output = Result<O, Self::JoinError>> + Unpin {
type JoinError: Error + Into<Error> + Send + Sync + 'static;
// Required method
fn abort(self);
// Provided method
fn detach(self)
where Self: Sized { ... }
}Expand description
Joinhanlde trait
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".