pub struct Executor {
pub tasks: BTreeMap<TaskId, Task>,
pub task_queue: Arc<ArrayQueue<TaskId>>,
pub waker_cache: BTreeMap<TaskId, Waker>,
}Fields§
§tasks: BTreeMap<TaskId, Task>§task_queue: Arc<ArrayQueue<TaskId>>§waker_cache: BTreeMap<TaskId, Waker>Implementations§
Auto Trait Implementations§
impl Freeze for Executor
impl !RefUnwindSafe for Executor
impl !Send for Executor
impl !Sync for Executor
impl Unpin for Executor
impl !UnwindSafe for Executor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more