Struct DriveScope
pub struct DriveScope { /* private fields */ }Expand description
本线程的一次活动推进范围,包含轮询(poll)、同步钩子(hook)和必要退出收尾。 不同于公共服务选择和原服务的全局推进状态,不授予队列或任务(Task)访问权限。 释放(drop)恢复原活动标记;正常返回和恐慌(panic)展开均配对处理。
Implementations§
§impl DriveScope
impl DriveScope
Trait Implementations§
Auto Trait Implementations§
impl !Send for DriveScope
impl !Sync for DriveScope
impl Forget for DriveScope
impl Freeze for DriveScope
impl Move for DriveScope
impl RefUnwindSafe for DriveScope
impl Unpin for DriveScope
impl UnsafeUnpin for DriveScope
impl UnwindSafe for DriveScope
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