pub enum Unlocked {}
Expand description
“Highest” lock level
The lock level for the thing returned by Locked::new
. Users of this crate
should implement LockAfter<Unlocked>
for the root of any lock ordering
trees.
Implementations§
Source§impl Unlocked
impl Unlocked
Sourcepub unsafe fn new() -> &'static mut Locked<Unlocked>
pub unsafe fn new() -> &'static mut Locked<Unlocked>
Entry point for locked access.
Unlocked
is the “root” lock level and can be acquired before any lock.
§Safety
Unlocked
should only be used before any lock in the program has been acquired.
Sourcepub unsafe fn new_instance() -> Locked<Unlocked>
pub unsafe fn new_instance() -> Locked<Unlocked>
Entry point for locked access.
Unlocked
is the “root” lock level and can be acquired before any lock.
§Safety
Unlocked
should only be used before any lock in the program has been acquired.
Trait Implementations§
impl LockAfter<Unlocked> for BeforeFsNodeAppend
impl LockAfter<Unlocked> for BpfMapStateLevel
impl LockAfter<Unlocked> for DeviceRegistryState
impl LockAfter<Unlocked> for EbpfStateLock
impl LockAfter<Unlocked> for FastrpcInnerState
impl LockAfter<Unlocked> for FileOpsCore
impl LockAfter<Unlocked> for FsNodeAppend
impl LockAfter<Unlocked> for KernelIpTables
impl LockAfter<Unlocked> for KernelSwapFiles
impl LockAfter<Unlocked> for MemoryPressureMonitor
impl LockAfter<Unlocked> for MemoryPressureMonitorClientState
impl LockAfter<Unlocked> for MemoryXattrStorageLevel
impl LockAfter<Unlocked> for MmDumpable
impl LockAfter<Unlocked> for ProcessGroupState
impl LockAfter<Unlocked> for ResourceAccessorLevel
impl LockAfter<Unlocked> for TaskRelease
impl LockAfter<Unlocked> for TerminalLock
impl LockAfter<Unlocked> for ThreadGroupLimits
impl LockAfter<Unlocked> for UninterruptibleLock
impl LockAfter<Unlocked> for UserFaultInner
impl LockEqualOrBefore<Unlocked> for Unlocked
Auto Trait Implementations§
impl Freeze for Unlocked
impl RefUnwindSafe for Unlocked
impl Send for Unlocked
impl Sync for Unlocked
impl Unpin for Unlocked
impl UnwindSafe for Unlocked
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more