Trait LocalReadySubmit
pub trait LocalReadySubmit: 'static {
// Required method
fn try_push_local(
runtime: RuntimeId,
task: Runnable,
) -> RawResult<(), Runnable>;
}Expand description
当前本地权限中的快速尾插;失败只返回同一原值,调用者转原归属共享返回。 实现必须使用同一ExecutorState::push_back计数窄出口,成功增加一次internal; 拒绝/展开归还预留后才允许共享回退,不自行重复记账。
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".