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]

[src]

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

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

Executes the destructor for this type. Read more