pub struct ThreadRegistration(/* private fields */);Expand description
A registration of a current thread to a collector.
The thread is removed from a collector when this value is dropped.
Trait Implementations§
Source§impl Drop for ThreadRegistration
impl Drop for ThreadRegistration
Auto Trait Implementations§
impl !Send for ThreadRegistration
impl !Sync for ThreadRegistration
impl Freeze for ThreadRegistration
impl RefUnwindSafe for ThreadRegistration
impl Unpin for ThreadRegistration
impl UnsafeUnpin for ThreadRegistration
impl UnwindSafe for ThreadRegistration
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