Struct cros_asyncv2::executor::Context
source · [−]struct Context {
queue: VecDeque<Runnable>,
timers: BTreeMap<Reverse<Instant>, SmallVec<[Waker; 2]>>,
waker: Option<Waker>,
}
Fields
queue: VecDeque<Runnable>
timers: BTreeMap<Reverse<Instant>, SmallVec<[Waker; 2]>>
waker: Option<Waker>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more