Struct sema::SemaphoreGuard [] [src]

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

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

Trait Implementations

impl<'a> Drop for SemaphoreGuard<'a>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more