Trait lock_api::RawRwLockUpgradeTimed[][src]

pub unsafe trait RawRwLockUpgradeTimed: RawRwLockUpgrade + RawRwLockTimed {
    fn try_lock_upgradable_for(&self, timeout: Self::Duration) -> bool;
fn try_lock_upgradable_until(&self, timeout: Self::Instant) -> bool;
fn try_upgrade_for(&self, timeout: Self::Duration) -> bool;
fn try_upgrade_until(&self, timeout: Self::Instant) -> bool; }

Additional methods for RwLocks which support upgradable locks and locking with timeouts.

Required Methods

Attempts to acquire an upgradable lock until a timeout is reached.

Attempts to acquire an upgradable lock until a timeout is reached.

Attempts to upgrade an upgradable lock to an exclusive lock until a timeout is reached.

Attempts to upgrade an upgradable lock to an exclusive lock until a timeout is reached.

Implementors