Trait RequestYield

Source
trait RequestYield: Send + Sync {
    // Required method
    fn request_yield(&self, vp_index: VpIndex);
}

Required Methods§

Source

fn request_yield(&self, vp_index: VpIndex)

Forces the run_vp call to yield to the scheduler (i.e. return Poll::Pending).

Implementors§