pub struct ThreadExtensionLease { /* private fields */ }Expand description
Owned extension lease used when the caller has no pre-existing handle.
Keeping this value alive pins both the thread header and the registry record, so current-thread helpers cannot return data that becomes stale immediately after their temporary lookup handle is dropped.
Implementations§
Source§impl ThreadExtensionLease
impl ThreadExtensionLease
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ThreadExtensionLease
impl !UnwindSafe for ThreadExtensionLease
impl Freeze for ThreadExtensionLease
impl Send for ThreadExtensionLease
impl Sync for ThreadExtensionLease
impl Unpin for ThreadExtensionLease
impl UnsafeUnpin for ThreadExtensionLease
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