[][src]Trait sp_core::traits::CloneableSpawn

pub trait CloneableSpawn: Spawn + Send + Sync {
    fn clone(&self) -> Box<dyn CloneableSpawn>;
}

Something that can spawn tasks and also can be cloned.

Required methods

fn clone(&self) -> Box<dyn CloneableSpawn>

Clone as heap-allocated handle.

Loading content...

Implementors

impl CloneableSpawn for Executor[src]

Loading content...