Struct DriveLease
pub struct DriveLease { /* private fields */ }Expand description
只持共享推进标记,!Send/!Sync;不能凭此访问队列或改变原线程。 释放(drop)只归还本服务推进权,正常与恐慌(panic)展开均配对;不通知、清理或迁移任务(Task)。
Trait Implementations§
Auto Trait Implementations§
impl !Send for DriveLease
impl !Sync for DriveLease
impl Forget for DriveLease
impl Freeze for DriveLease
impl Move for DriveLease
impl RefUnwindSafe for DriveLease
impl Unpin for DriveLease
impl UnsafeUnpin for DriveLease
impl UnwindSafe for DriveLease
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