Struct std::sync::SemaphoreGuard [] [src]

pub struct SemaphoreGuard<'a> {
    // some fields omitted
}
Unstable (semaphore #27798)

: the interaction between semaphores and the acquisition/release of resources is currently unclear

An RAII guard which will release a resource acquired from a semaphore when dropped.

Trait Implementations

impl<'a> Drop for SemaphoreGuard<'a>

fn drop(&mut self)