Function calloop::futures::executor[][src]

pub fn executor<T>() -> Result<(Executor<T>, Scheduler<T>)>

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).