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. Read more

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

The resulting type after dereferencing.

Dereferences the value.

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

Mutably dereferences the value.

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

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<T> Send for Guard<T> where
    T: Send

impl<T> Sync for Guard<T> where
    T: Send