initSidebarItems({"fn":[["enter","Marks the current thread as being within the dynamic extent of an executor."],["set_default","Sets `executor` as the default executor, returning a guard that unsets it when dropped."],["spawn","Submits a future for execution on the default executor -- usually a threadpool."],["with_default","Set the default executor for the duration of the closure"]],"mod":[["park","Abstraction over blocking and unblocking the current thread."]],"struct":[["DefaultExecutor","Executes futures on the default executor for the current execution context."],["DefaultGuard","Ensures that the executor is removed from the thread-local context when leaving the scope. This handles cases that involve panicking."],["Enter","Represents an executor context."],["EnterError","An error returned by `enter` if an execution scope has already been entered."],["SpawnError","Errors returned by `Executor::spawn`."]],"trait":[["Executor","A value that executes futures."],["TypedExecutor","A value that spawns futures of a specific type."]]});