[src]pub struct MutexGuard<'a, T> {
cond: Condvar<'a>,
// some fields omitted
}
An guard which is created by locking a mutex. Through this guard the
underlying data can be accessed.
Fields
cond | Inner condition variable connected to the locked mutex that this guard
was created from. This can be used for atomic-unlock-and-deschedule.
|
Trait Implementations
fn deref<'a>(&'a self) -> &'a T
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ↑
- Move up in search results
- ↓
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).