pub struct ThreadSafeHandle(/* private fields */);Expand description
ThreadSafeHandle struct that wraps a native Windows HANDLE object with a mutex to ensure thread safety.
Implementations§
Trait Implementations§
impl Send for ThreadSafeHandle
Implement Send and Sync for ThreadSafeHandle to allow it to be shared across threads.
impl Sync for ThreadSafeHandle
Auto Trait Implementations§
impl !Freeze for ThreadSafeHandle
impl RefUnwindSafe for ThreadSafeHandle
impl Unpin for ThreadSafeHandle
impl UnwindSafe for ThreadSafeHandle
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