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]
fn upgrade(guard: ReadGuard<T>) -> FutureUpgrade<T>
fn release(guard: ReadGuard<T>) -> QrwLock<T>
Releases the lock held by this ReadGuard
and returns the original QrwLock
.
Trait Implementations
impl<T: Debug> Debug for ReadGuard<T>
[src]
impl<T> Deref for ReadGuard<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value