Struct local_sync::semaphore::SemaphorePermit
source · pub struct SemaphorePermit<'a> { /* private fields */ }
Expand description
A permit from the semaphore.
This type is created by the acquire
method.
Implementations§
source§impl<'a> SemaphorePermit<'a>
impl<'a> SemaphorePermit<'a>
Trait Implementations§
source§impl<'a> Debug for SemaphorePermit<'a>
impl<'a> Debug for SemaphorePermit<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SemaphorePermit<'a>
impl<'a> !Send for SemaphorePermit<'a>
impl<'a> !Sync for SemaphorePermit<'a>
impl<'a> Unpin for SemaphorePermit<'a>
impl<'a> !UnwindSafe for SemaphorePermit<'a>
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