Struct tokio::sync::OwnedSemaphorePermit [−][src]
pub struct OwnedSemaphorePermit { /* fields omitted */ }
This is supported on crate feature
sync
only.Expand description
An owned permit from the semaphore.
This type is created by the acquire_owned
method.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OwnedSemaphorePermit
impl Send for OwnedSemaphorePermit
impl Sync for OwnedSemaphorePermit
impl Unpin for OwnedSemaphorePermit
impl !UnwindSafe for OwnedSemaphorePermit