Move spawn errors into executor.rs

This commit is contained in:
Josef Reinhard Brandl
2018-06-26 21:13:36 +02:00
parent c055fef010
commit b39ea1d18f
3 changed files with 50 additions and 67 deletions

View File

@@ -18,14 +18,13 @@ mod context;
pub use self::context::Context;
mod executor;
pub use self::executor::Executor;
pub use self::executor::{
Executor, SpawnErrorKind, SpawnObjError, SpawnLocalObjError
};
mod poll;
pub use self::poll::Poll;
mod spawn_error;
pub use self::spawn_error::{SpawnErrorKind, SpawnObjError, SpawnLocalObjError};
mod task;
pub use self::task::{TaskObj, LocalTaskObj, UnsafeTask};