[src]

Struct sync::raw::SemaphoreGuard

pub struct SemaphoreGuard<'a> {
    // some fields omitted
}

An RAII guard used to represent an acquired resource to a semaphore. When dropped, this value will release the resource back to the semaphore.