Trait JoinHandle

Source
pub trait JoinHandle<T>: Send {
    // Required method
    fn join(self) -> impl Future<Output = Result<T>> + Send;
}
Expand description

Handle can be awaited to get the success status of the task. The handle is primarily needed to propagate background task error back to SF.

Required Methods§

Source

fn join(self) -> impl Future<Output = Result<T>> + Send

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.

Implementors§