Struct parking_lot::RawRwLock [−][src]
pub struct RawRwLock { /* fields omitted */ }Raw reader-writer lock type backed by the parking lot.
Trait Implementations
impl RawRwLock for RawRwLock[src]
impl RawRwLock for RawRwLock[src]const INIT: RawRwLock[src]
type GuardMarker = GuardNoSend
Marker type which determines whether a lock guard should be Send. Use
one of the GuardSend or GuardNoSend helper types here. Read more
fn lock_exclusive(&self)[src]
fn try_lock_exclusive(&self) -> bool[src]
unsafe fn unlock_exclusive(&self)[src]
fn lock_shared(&self)[src]
fn try_lock_shared(&self) -> bool[src]
unsafe fn unlock_shared(&self)[src]
fn is_locked(&self) -> bool[src]
impl RawRwLockDowngrade for RawRwLock[src]
impl RawRwLockDowngrade for RawRwLock[src]impl RawRwLockFair for RawRwLock[src]
impl RawRwLockFair for RawRwLock[src]unsafe fn unlock_shared_fair(&self)[src]
unsafe fn unlock_exclusive_fair(&self)[src]
unsafe fn bump_shared(&self)[src]
unsafe fn bump_exclusive(&self)[src]
impl RawRwLockRecursive for RawRwLock[src]
impl RawRwLockRecursive for RawRwLock[src]fn lock_shared_recursive(&self)[src]
fn try_lock_shared_recursive(&self) -> bool[src]
impl RawRwLockRecursiveTimed for RawRwLock[src]
impl RawRwLockRecursiveTimed for RawRwLock[src]fn try_lock_shared_recursive_for(&self, timeout: Self::Duration) -> bool[src]
fn try_lock_shared_recursive_until(&self, timeout: Self::Instant) -> bool[src]
impl RawRwLockTimed for RawRwLock[src]
impl RawRwLockTimed for RawRwLock[src]type Duration = Duration
Duration type used for try_lock_for.
type Instant = Instant
Instant type used for try_lock_until.
fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool[src]
fn try_lock_shared_until(&self, timeout: Self::Instant) -> bool[src]
fn try_lock_exclusive_for(&self, timeout: Duration) -> bool[src]
fn try_lock_exclusive_until(&self, timeout: Instant) -> bool[src]
impl RawRwLockUpgrade for RawRwLock[src]
impl RawRwLockUpgrade for RawRwLock[src]fn lock_upgradable(&self)[src]
fn try_lock_upgradable(&self) -> bool[src]
unsafe fn unlock_upgradable(&self)[src]
unsafe fn upgrade(&self)[src]
unsafe fn try_upgrade(&self) -> bool[src]
impl RawRwLockUpgradeDowngrade for RawRwLock[src]
impl RawRwLockUpgradeDowngrade for RawRwLock[src]unsafe fn downgrade_upgradable(&self)[src]
unsafe fn downgrade_to_upgradable(&self)[src]
impl RawRwLockUpgradeFair for RawRwLock[src]
impl RawRwLockUpgradeFair for RawRwLock[src]unsafe fn unlock_upgradable_fair(&self)[src]
unsafe fn bump_upgradable(&self)[src]
impl RawRwLockUpgradeTimed for RawRwLock[src]
impl RawRwLockUpgradeTimed for RawRwLock[src]