pub enum Integrity {
Untrusted,
Low,
Medium,
MediumPlus,
High,
System,
Protected,
}Expand description
Windows integrity levels, ordered. Comparison is what matters, not the raw RID.
Variants§
Untrusted
Below Low. Used by heavily sandboxed processes.
Low
Sandboxed processes, e.g. browser renderers and protected-mode content.
Medium
Ordinary user processes. Where a dictation app normally runs.
MediumPlus
Between Medium and High; used by some UAC-aware processes.
High
Elevated (administrator) processes. UIPI blocks input from Medium into these.
System
Service and kernel-adjacent processes.
Protected
Protected-process level, above anything a desktop app can reach.
Trait Implementations§
impl Copy for Integrity
impl Eq for Integrity
Source§impl Ord for Integrity
impl Ord for Integrity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Integrity
impl PartialOrd for Integrity
impl StructuralPartialEq for Integrity
Auto Trait Implementations§
impl Freeze for Integrity
impl RefUnwindSafe for Integrity
impl Send for Integrity
impl Sync for Integrity
impl Unpin for Integrity
impl UnsafeUnpin for Integrity
impl UnwindSafe for Integrity
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