Struct unsend::lock::SemaphoreGuardRc
source · pub struct SemaphoreGuardRc { /* private fields */ }
Available on crate feature
alloc
only.Expand description
A guard that releases the permit when dropped.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SemaphoreGuardRc
impl !Send for SemaphoreGuardRc
impl !Sync for SemaphoreGuardRc
impl Unpin for SemaphoreGuardRc
impl !UnwindSafe for SemaphoreGuardRc
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