Struct RawRwLock
pub struct RawRwLock { /* private fields */ }
Raw reader-writer lock type backed by the parking lot.
Trait Implementations
impl RawRwLock for RawRwLock
const INIT: RawRwLock = _;type GuardMarker = GuardNoSend;fn lock_exclusive(&self)fn try_lock_exclusive(&self) -> boolunsafe fn unlock_exclusive(&self)fn is_locked(&self) -> boolfn is_locked_exclusive(&self) -> bool
impl RawRwLockDowngrade for RawRwLock
unsafe fn downgrade(&self)
impl RawRwLockFair for RawRwLock
unsafe fn unlock_exclusive_fair(&self)unsafe fn bump_exclusive(&self)
impl RawRwLockRecursive for RawRwLock
impl RawRwLockRecursiveTimed for RawRwLock
impl RawRwLockTimed for RawRwLock
type Duration = Duration;type Instant = Instant;fn try_lock_exclusive_for(&self, timeout: Duration) -> boolfn try_lock_exclusive_until(&self, timeout: Instant) -> bool
impl RawRwLockUpgrade for RawRwLock
fn lock_upgradable(&self)fn try_lock_upgradable(&self) -> boolunsafe fn unlock_upgradable(&self)unsafe fn upgrade(&self)unsafe fn try_upgrade(&self) -> bool
impl RawRwLockUpgradeDowngrade for RawRwLock
unsafe fn downgrade_upgradable(&self)unsafe fn downgrade_to_upgradable(&self)
impl RawRwLockUpgradeFair for RawRwLock
unsafe fn unlock_upgradable_fair(&self)unsafe fn bump_upgradable(&self)
impl RawRwLockUpgradeTimed for RawRwLock
fn try_lock_upgradable_until(&self, timeout: Instant) -> boolfn try_lock_upgradable_for(&self, timeout: Duration) -> boolunsafe fn try_upgrade_until(&self, timeout: Instant) -> boolunsafe fn try_upgrade_for(&self, timeout: Duration) -> bool
Auto Trait Implementations
impl !Freeze for RawRwLock
impl RefUnwindSafe for RawRwLock
impl Send for RawRwLock
impl Sync for RawRwLock
impl Unpin for RawRwLock
impl UnsafeUnpin for RawRwLock
impl UnwindSafe for RawRwLock
Blanket Implementations
impl<T> Any for RawRwLock
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RawRwLock
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RawRwLock
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for RawRwLock
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for RawRwLock
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for RawRwLock
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RawRwLock
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>