Struct tokio::sync::SemaphorePermit [−][src]
#[must_use]pub struct SemaphorePermit<'a> { /* fields omitted */ }
This is supported on crate feature
sync
only.Expand description
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> Debug for SemaphorePermit<'a>
[src]
impl<'a> Debug for SemaphorePermit<'a>
[src]