pub struct ThreadRegistrationGuard { /* private fields */ }Expand description
RAII guard for thread registration with the garbage collector.
Automatically unregisters the thread when dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ThreadRegistrationGuard
impl RefUnwindSafe for ThreadRegistrationGuard
impl Send for ThreadRegistrationGuard
impl Sync for ThreadRegistrationGuard
impl Unpin for ThreadRegistrationGuard
impl UnwindSafe for ThreadRegistrationGuard
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