Skip to main content

LockLevel

Trait LockLevel 

Source
pub trait LockLevel {
    const LOCK_ID: usize;
    const NAME: &'static str;
}
Expand description

A trait for types that represent a lock level in the lock dependency tracker.

Required Associated Constants§

Source

const LOCK_ID: usize

The unique identifier for this lock level.

Source

const NAME: &'static str

The name of the lock level.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl LockLevel for BeforeFsNodeAppend

Source§

const LOCK_ID: usize = 16usize

Source§

const NAME: &'static str = "BeforeFsNodeAppend"

Source§

impl LockLevel for BinderContextManagerLevel

Source§

const LOCK_ID: usize = 400usize

Source§

const NAME: &'static str = "BinderContextManagerLevel"

Source§

impl LockLevel for BinderFreezeLevel

Source§

const LOCK_ID: usize = 368usize

Source§

const NAME: &'static str = "BinderFreezeLevel"

Source§

impl LockLevel for BinderFsDevicesLevel

Source§

const LOCK_ID: usize = 496usize

Source§

const NAME: &'static str = "BinderFsDevicesLevel"

Source§

impl LockLevel for BinderObjectLevel

Source§

const LOCK_ID: usize = 416usize

Source§

const NAME: &'static str = "BinderObjectLevel"

Source§

impl LockLevel for BinderProcessSharedMemoryLevel

Source§

const LOCK_ID: usize = 352usize

Source§

const NAME: &'static str = "BinderProcessSharedMemoryLevel"

Source§

impl LockLevel for BinderProcessStateLevel

Source§

const LOCK_ID: usize = 384usize

Source§

const NAME: &'static str = "BinderProcessStateLevel"

Source§

impl LockLevel for BinderProcsLevel

Source§

const LOCK_ID: usize = 336usize

Source§

const NAME: &'static str = "BinderProcsLevel"

Source§

impl LockLevel for DeviceRegistryState

Source§

const LOCK_ID: usize = 512usize

Source§

const NAME: &'static str = "DeviceRegistryState"

Source§

impl LockLevel for DirEntryChildrenLevel

Source§

const LOCK_ID: usize = 480usize

Source§

const NAME: &'static str = "DirEntryChildrenLevel"

Source§

impl LockLevel for DirEntryChildrenRecursiveLevel

Source§

const LOCK_ID: usize = 448usize

Source§

const NAME: &'static str = "DirEntryChildrenRecursiveLevel"

Source§

impl LockLevel for EbpfMapStateLevel

Source§

const LOCK_ID: usize = 144usize

Source§

const NAME: &'static str = "EbpfMapStateLevel"

Source§

impl LockLevel for EbpfStateLock

Source§

const LOCK_ID: usize = 160usize

Source§

const NAME: &'static str = "EbpfStateLock"

Source§

impl LockLevel for EbpfSuspendLock

Source§

const LOCK_ID: usize = 176usize

Source§

const NAME: &'static str = "EbpfSuspendLock"

Source§

impl LockLevel for FastrpcInnerState

Source§

const LOCK_ID: usize = 192usize

Source§

const NAME: &'static str = "FastrpcInnerState"

Source§

impl LockLevel for FileObjectOffset

Source§

const LOCK_ID: usize = 0usize

Source§

const NAME: &'static str = "FileObjectOffset"

Source§

impl LockLevel for FileOpsCore

Source§

const LOCK_ID: usize = 112usize

Source§

const NAME: &'static str = "FileOpsCore"

Source§

impl LockLevel for FsNodeAppend

Source§

const LOCK_ID: usize = 32usize

Source§

const NAME: &'static str = "FsNodeAppend"

Source§

impl LockLevel for FsRename

Source§

const LOCK_ID: usize = 464usize

Source§

const NAME: &'static str = "FsRename"

Source§

impl LockLevel for FsRenameRecursive

Source§

const LOCK_ID: usize = 432usize

Source§

const NAME: &'static str = "FsRenameRecursive"

Source§

impl LockLevel for FuseDirEntryChildrenLevel

Source§

const LOCK_ID: usize = 64usize

Source§

const NAME: &'static str = "FuseDirEntryChildrenLevel"

Source§

impl LockLevel for FuseFsRenameLevel

Source§

const LOCK_ID: usize = 48usize

Source§

const NAME: &'static str = "FuseFsRenameLevel"

Source§

impl LockLevel for KernelIpTables

Source§

const LOCK_ID: usize = 208usize

Source§

const NAME: &'static str = "KernelIpTables"

Source§

impl LockLevel for KernelSwapFiles

Source§

const LOCK_ID: usize = 224usize

Source§

const NAME: &'static str = "KernelSwapFiles"

Source§

impl LockLevel for MemoryPressureMonitor

Source§

const LOCK_ID: usize = 240usize

Source§

const NAME: &'static str = "MemoryPressureMonitor"

Source§

impl LockLevel for MemoryPressureMonitorClientState

Source§

const LOCK_ID: usize = 256usize

Source§

const NAME: &'static str = "MemoryPressureMonitorClientState"

Source§

impl LockLevel for MemoryXattrStorageLevel

Source§

const LOCK_ID: usize = 272usize

Source§

const NAME: &'static str = "MemoryXattrStorageLevel"

Source§

impl LockLevel for MmDumpable

Source§

const LOCK_ID: usize = 288usize

Source§

const NAME: &'static str = "MmDumpable"

Source§

impl LockLevel for ProcessGroupState

Source§

const LOCK_ID: usize = 304usize

Source§

const NAME: &'static str = "ProcessGroupState"

Source§

impl LockLevel for RemoteBinderHandleLevel

Source§

const LOCK_ID: usize = 320usize

Source§

const NAME: &'static str = "RemoteBinderHandleLevel"

Source§

impl LockLevel for ResourceAccessorLevel

Source§

const LOCK_ID: usize = 80usize

Source§

const NAME: &'static str = "ResourceAccessorLevel"

Source§

impl LockLevel for TaskRelease

Source§

const LOCK_ID: usize = 96usize

Source§

const NAME: &'static str = "TaskRelease"

Source§

impl LockLevel for TerminalLock

Source§

const LOCK_ID: usize = 528usize

Source§

const NAME: &'static str = "TerminalLock"

Source§

impl LockLevel for ThreadGroupLimits

Source§

const LOCK_ID: usize = 544usize

Source§

const NAME: &'static str = "ThreadGroupLimits"

Source§

impl LockLevel for UninterruptibleLock

Source§

const LOCK_ID: usize = 128usize

Source§

const NAME: &'static str = "UninterruptibleLock"

Source§

impl LockLevel for UserFaultInner

Source§

const LOCK_ID: usize = 560usize

Source§

const NAME: &'static str = "UserFaultInner"