Joinable

Trait Joinable 

Source
pub trait Joinable<T> {
    // Required method
    fn join(&mut self) -> impl Future<Output = Result<T, Error>>;
}

Required Methods§

Source

fn join(&mut self) -> impl Future<Output = Result<T, Error>>

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, S> Joinable<T> for AsyncTask<T, S>