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]

[src]

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

[src]

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

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

Executes the destructor for this type. Read more