pub struct ThreadGuard(/* private fields */);Available on crate features
inject-dll and inject-dll-dll only.Expand description
Implementations§
Source§impl ThreadGuard
impl ThreadGuard
pub fn dismiss(self) -> OwnedHandle
Trait Implementations§
Source§impl Drop for ThreadGuard
impl Drop for ThreadGuard
Source§impl<T> From<JoinHandle<T>> for ThreadGuard
impl<T> From<JoinHandle<T>> for ThreadGuard
Source§fn from(thread: JoinHandle<T>) -> Self
fn from(thread: JoinHandle<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThreadGuard
impl RefUnwindSafe for ThreadGuard
impl Send for ThreadGuard
impl Sync for ThreadGuard
impl Unpin for ThreadGuard
impl UnsafeUnpin for ThreadGuard
impl UnwindSafe for ThreadGuard
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