Struct tokio::sync::SemaphorePermit [−][src]
#[must_use]pub struct SemaphorePermit<'a> { /* fields omitted */ }
A permit from the semaphore.
This type is created by the acquire
method.
Implementations
impl<'a> SemaphorePermit<'a>
[src]
impl<'a> SemaphorePermit<'a>
[src]Trait Implementations
impl<'a> Drop for SemaphorePermit<'_>
[src]
impl<'a> Drop for SemaphorePermit<'_>
[src]