pub trait Spawn {
    fn spawn_bg<F>(&mut self, future: F)
    where
        F: Future<Output = Result<(), ProtoError>> + Send + 'static
; }
Expand description

A type defines the Handle which can spawn future.

Required Methods

Spawn a future in the background

Implementors