mssf_core::runtime::executor

Trait LocalJoinHandle

Source
pub trait LocalJoinHandle<T> {
    // Required method
    async fn join(self) -> Result<T>;
}
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

async fn join(self) -> Result<T>

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§

Source§

impl<T, TraitVariantBlanketType: JoinHandle<T>> LocalJoinHandle<T> for TraitVariantBlanketType