Struct qutex::ReadGuard[][src]

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

Allows read-only access to the data contained within a lock.

Methods

impl<T> ReadGuard<T>
[src]

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

Trait Implementations

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

Formats the value using the given formatter. Read more

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

The resulting type after dereferencing.

Dereferences the value.

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

Executes the destructor for this type. Read more

Auto Trait Implementations

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

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