Struct shared_mutex::SharedMutexWriteGuard [] [src]

pub struct SharedMutexWriteGuard<'mutex, T: ?Sized + 'mutex> { /* fields omitted */ }

An exclusive write guard on a SharedMutex.

Methods

impl<'mutex, T: ?Sized> SharedMutexWriteGuard<'mutex, T>
[src]

Turn this guard into a guard which can be mapped to a sub-borrow.

Note that a mapped guard cannot wait on a Condvar.

Wait on the given condition variable, and resume with another write lock.

Wait on the given condition variable, and resume with a read lock.

Trait Implementations

impl<'mutex, T: ?Sized> Deref for SharedMutexWriteGuard<'mutex, T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'mutex, T: ?Sized> DerefMut for SharedMutexWriteGuard<'mutex, T>
[src]

The method called to mutably dereference a value

impl<'mutex, T: ?Sized> Drop for SharedMutexWriteGuard<'mutex, T>
[src]

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

impl<'mutex, T: ?Sized + Debug> Debug for SharedMutexWriteGuard<'mutex, T>
[src]

Formats the value using the given formatter.