pub struct SemaphorePermits<'a, T> {
sema: &'a Semaphore<T>,
}Expand description
Fields§
§sema: &'a Semaphore<T>Trait Implementations§
Source§impl<T> Deref for SemaphorePermits<'_, T>
impl<T> Deref for SemaphorePermits<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for SemaphorePermits<'a, T>
impl<'a, T> RefUnwindSafe for SemaphorePermits<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SemaphorePermits<'a, T>where
T: Sync,
impl<'a, T> Sync for SemaphorePermits<'a, T>where
T: Sync,
impl<'a, T> Unpin for SemaphorePermits<'a, T>
impl<'a, T> UnwindSafe for SemaphorePermits<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more