pub trait Spawner {
    fn spawn<F: Future<Output = ()> + Send + 'static>(&mut self, fut: F);
}
Expand description

An Spawner represents anything that can spawn a future to be run in the background. This is used to spawn actors.

Required Methods

Spawn the given future.

Implementors