BuildFromRunnable

Trait BuildFromRunnable 

Source
pub trait BuildFromRunnable {
    type Type;

    // Required method
    fn build_from(
        runnable: impl Runnable<Handle = RuntimeJoinHandle<()>> + Send + 'static,
    ) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn build_from( runnable: impl Runnable<Handle = RuntimeJoinHandle<()>> + Send + 'static, ) -> Self::Type

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§