pub struct SemaphoreGuard { /* private fields */ }
Expand description
Holds the lock to the semaphore until we are dropped
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SemaphoreGuard
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