pub struct DispatchSemaphoreGuard(/* private fields */);Expand description
Dispatch semaphore guard.
Implementations§
Source§impl DispatchSemaphoreGuard
impl DispatchSemaphoreGuard
Sourcepub fn release(self) -> bool
pub fn release(self) -> bool
Release the DispatchSemaphore.
Trait Implementations§
Source§impl Debug for DispatchSemaphoreGuard
impl Debug for DispatchSemaphoreGuard
Auto Trait Implementations§
impl Freeze for DispatchSemaphoreGuard
impl !RefUnwindSafe for DispatchSemaphoreGuard
impl Send for DispatchSemaphoreGuard
impl Sync for DispatchSemaphoreGuard
impl Unpin for DispatchSemaphoreGuard
impl !UnwindSafe for DispatchSemaphoreGuard
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