Trait parking_lot_core::word_lock::LockState
source · trait LockState {
// Required methods
fn is_locked(self) -> bool;
fn is_queue_locked(self) -> bool;
fn queue_head(self) -> *const ThreadData;
fn with_queue_head(self, thread_data: *const ThreadData) -> Self;
}
Required Methods§
fn is_locked(self) -> bool
fn is_queue_locked(self) -> bool
fn queue_head(self) -> *const ThreadData
fn with_queue_head(self, thread_data: *const ThreadData) -> Self
Object Safety§
This trait is not object safe.