Struct qutex::Guard [] [src]

pub struct Guard<T> { /* fields omitted */ }

Allows access to the data contained within a lock just like a mutex guard.

Methods

impl<T> Guard<T>
[src]

Releases the lock held by a Guard and returns the original Qutex.

Trait Implementations

impl<T: Debug> Debug for Guard<T>
[src]

Formats the value using the given formatter.

impl<T> Deref for Guard<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Guard<T>
[src]

The method called to mutably dereference a value

impl<T> Drop for Guard<T>
[src]

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