Trait fetsig::SignalSpawn
source · pub trait SignalSpawn<A> {
// Required methods
fn spawn_local<F>(self, f: F)
where F: Fn(A) + 'static;
fn spawn_local_fut<F, W>(self, f: F)
where F: Fn(A) -> W + 'static,
W: Future<Output = ()> + 'static;
}Required Methods§
fn spawn_local<F>(self, f: F)where
F: Fn(A) + 'static,
fn spawn_local_fut<F, W>(self, f: F)
Object Safety§
This trait is not object safe.