//! RISC-V privilege levels
/// Privilege level of the hart.
///
/// Variants are assigned their architectural 2-bit encoding as discriminants
/// so that `level as u8` yields the value that appears in CSR address bits
/// `[9:8]` and in `mstatus`/`sstatus` privilege fields.
///
/// The encoding `0b10` is architecturally reserved and is therefore absent.