Trait lock_api::rwlock::RawRwLockDowngrade
source · pub unsafe trait RawRwLockDowngrade: RawRwLock {
// Required method
unsafe fn downgrade(&self);
}
Expand description
Additional methods for RwLock
s which support atomically downgrading an
exclusive lock to a shared lock.
Required Methods§
Object Safety§
This trait is not object safe.