pub struct ReturnRoute<L: 'static> { /* private fields */ }Expand description
供WakeTarget装配的原归属接口;泛型(generic)仅静态标记,不持本地设施。
Trait Implementations§
Source§impl<L: 'static> Clone for ReturnRoute<L>
impl<L: 'static> Clone for ReturnRoute<L>
Source§impl<L: LocalReadySubmit> ExternalTaskQueue for ReturnRoute<L>
impl<L: LocalReadySubmit> ExternalTaskQueue for ReturnRoute<L>
Source§fn try_push(&self, task: Runnable) -> RawResult<(), ExternalPushError>
fn try_push(&self, task: Runnable) -> RawResult<(), ExternalPushError>
尝试接管一份Runnable;拒绝时返还原值,不能执行后再拒绝。
Source§fn try_take_batch(&self) -> BatchAttempt
fn try_take_batch(&self) -> BatchAttempt
一次获取当前有序批次;不能循环等待未来提交来填满批次。
Auto Trait Implementations§
impl<L> !RefUnwindSafe for ReturnRoute<L>
impl<L> !UnwindSafe for ReturnRoute<L>
impl<L> Forget for ReturnRoute<L>
impl<L> Freeze for ReturnRoute<L>
impl<L> Move for ReturnRoute<L>
impl<L> Send for ReturnRoute<L>
impl<L> Sync for ReturnRoute<L>
impl<L> Unpin for ReturnRoute<L>
impl<L> UnsafeUnpin for ReturnRoute<L>
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