Struct qutex::WriteGuard [] [src]

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

Allows read or write access to the data contained within a lock.

Methods

impl<T> WriteGuard<T>
[src]

Converts this WriteGuard into a ReadGuard and fulfills any other pending read requests.

Releases the lock held by this WriteGuard and returns the original QrwLock.

Trait Implementations

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

Formats the value using the given formatter.

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

The resulting type after dereferencing

The method called to dereference a value

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

The method called to mutably dereference a value

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

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