Struct dispatch::SemaphoreGuard
source · pub struct SemaphoreGuard { /* private fields */ }
Expand description
An RAII guard which will signal a Semaphore
when dropped.
Implementations§
Trait Implementations§
source§impl Debug for SemaphoreGuard
impl Debug for SemaphoreGuard
Auto Trait Implementations§
impl RefUnwindSafe for SemaphoreGuard
impl Send for SemaphoreGuard
impl Sync for SemaphoreGuard
impl Unpin for SemaphoreGuard
impl UnwindSafe for SemaphoreGuard
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