[−][src]Struct parking_lot::RawRwLock
Raw reader-writer lock type backed by the parking lot.
Trait Implementations
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]
fn unlock_exclusive(&self)
[src]
fn lock_shared(&self)
[src]
fn try_lock_shared(&self) -> bool
[src]
fn unlock_shared(&self)
[src]
impl RawRwLockDowngrade for RawRwLock
[src]
impl RawRwLockFair for RawRwLock
[src]
fn unlock_shared_fair(&self)
[src]
fn unlock_exclusive_fair(&self)
[src]
fn bump_shared(&self)
[src]
fn bump_exclusive(&self)
[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]
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]
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]
fn lock_upgradable(&self)
[src]
fn try_lock_upgradable(&self) -> bool
[src]
fn unlock_upgradable(&self)
[src]
fn upgrade(&self)
[src]
fn try_upgrade(&self) -> bool
[src]
impl RawRwLockUpgradeDowngrade for RawRwLock
[src]
fn downgrade_upgradable(&self)
[src]
fn downgrade_to_upgradable(&self)
[src]
impl RawRwLockUpgradeFair for RawRwLock
[src]
fn unlock_upgradable_fair(&self)
[src]
fn bump_upgradable(&self)
[src]
impl RawRwLockUpgradeTimed for RawRwLock
[src]
fn try_lock_upgradable_until(&self, timeout: Instant) -> bool
[src]
fn try_lock_upgradable_for(&self, timeout: Duration) -> bool
[src]
fn try_upgrade_until(&self, timeout: Instant) -> bool
[src]
fn try_upgrade_for(&self, timeout: Duration) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawRwLock
impl Send for RawRwLock
impl Sync for RawRwLock
impl Unpin for RawRwLock
impl UnwindSafe for RawRwLock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,