Struct fi::sync::RwLockReadGuard 1.0.0
[−]
[src]
#[must_use]pub struct RwLockReadGuard<'a, T> where
T: 'a + ?Sized, { /* fields omitted */ }
RAII structure used to release the shared read access of a lock when dropped.
This structure is created by the read
and try_read
methods on
RwLock
.
Trait Implementations
impl<'a, T> Sync for RwLockReadGuard<'a, T> where
T: Sync + ?Sized,
1.23.0[src]
T: Sync + ?Sized,
impl<'a, T> Debug for RwLockReadGuard<'a, T> where
T: Debug,
1.16.0[src]
T: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> where
T: ?Sized,
[src]
T: ?Sized,
type Target = T
The resulting type after dereferencing.
ⓘImportant traits for &'a mut Wfn deref(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
Dereferences the value.
impl<'a, T> Display for RwLockReadGuard<'a, T> where
T: Display + ?Sized,
1.20.0[src]
T: Display + ?Sized,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'a, T> Drop for RwLockReadGuard<'a, T> where
T: ?Sized,
[src]
T: ?Sized,
impl<'a, T> !Send for RwLockReadGuard<'a, T> where
T: ?Sized,
[src]
T: ?Sized,