Struct rtsc::semaphore::SemaphoreGuard
source · pub struct SemaphoreGuard { /* private fields */ }Expand description
A guard that releases the permission when 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