[−][src]Trait amadeus_core::pool::ProcessPool
Required methods
fn processes(&self) -> usize
fn spawn<F, T>(
&self,
work: F
) -> Pin<Box<dyn Future<Output = Result<T, Box<dyn Error + Send>>> + Send>> where
F: FnOnce() -> T + ProcessSend,
T: ProcessSend,
&self,
work: F
) -> Pin<Box<dyn Future<Output = Result<T, Box<dyn Error + Send>>> + Send>> where
F: FnOnce() -> T + ProcessSend,
T: ProcessSend,
Implementations on Foreign Types
impl<'_, P: ?Sized> ProcessPool for &'_ P where
P: ProcessPool, [src]
P: ProcessPool,
fn processes(&self) -> usize[src]
fn spawn<F, T>(
&self,
work: F
) -> Pin<Box<dyn Future<Output = Result<T, Box<dyn Error + Send>>> + Send>> where
F: FnOnce() -> T + ProcessSend,
T: ProcessSend, [src]
&self,
work: F
) -> Pin<Box<dyn Future<Output = Result<T, Box<dyn Error + Send>>> + Send>> where
F: FnOnce() -> T + ProcessSend,
T: ProcessSend,