Searched refs:CustomSpawn (Results 1 – 2 of 2) sorted by relevance
64 use self::registry::{CustomSpawn, DefaultSpawn, ThreadSpawn};352 pub fn spawn_handler<F>(self, spawn: F) -> ThreadPoolBuilder<CustomSpawn<F>> in spawn_handler()357 spawn_handler: CustomSpawn::new(spawn), in spawn_handler()
111 pub struct CustomSpawn<F>(F); struct113 impl<F> CustomSpawn<F> implementation118 CustomSpawn(spawn) in new()122 impl<F> ThreadSpawn for CustomSpawn<F> implementation