pub struct AcquisitionGuard {}Expand description
While alive, keeps every other thread of the process out of the
acquisitions that take serialize_acquisition: instance creation,
adapter requests and enumeration, and device creation. The thread holding
one may take another (an acquisition inside another’s callback).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AcquisitionGuard
impl RefUnwindSafe for AcquisitionGuard
impl Send for AcquisitionGuard
impl Sync for AcquisitionGuard
impl Unpin for AcquisitionGuard
impl UnsafeUnpin for AcquisitionGuard
impl UnwindSafe for AcquisitionGuard
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