Function calloop::futures::executor

source ·
pub fn executor<T>() -> Result<(Executor<T>, Scheduler<T>)>
Expand description

Create a new executor, and its associated scheduler

May fail due to OS errors preventing calloop to setup its internal pipes (if your process has reatched its file descriptor limit for example).