VdsoKey

Trait VdsoKey 

Source
pub trait VdsoKey: Sealed {
    type Item: AuxValue;

    const ID: u64;
    const N: usize;
}
Available on (Linux or Android) and (x86-64 and little-endian and 64-bit, or AArch64 and 64-bit, or ARM and 32-bit, or x86 and little-endian and 32-bit), or Linux and (x86-64 and little-endian and 32-bit, or RISC-V RV64 and little-endian and 64-bit, or RISC-V RV32 and little-endian and 32-bit, or MIPS and 32-bit, or MIPS-64 and 64-bit, or s390x and big-endian and 64-bit, or LoongArch LA64 and little-endian and 64-bit, or PowerPC and big-endian and 32-bit, or PowerPC-64 and 64-bit) only.
Expand description

A trait representing a valid key for crate::env::getauxval function.

Required Associated Constants§

Source

const ID: u64

Source

const N: usize

Required Associated Types§

Source

type Item: AuxValue

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 VdsoKey for ADIBlockSize

Source§

const ID: u64 = 48u64

Source§

const N: usize = 36usize

Source§

type Item = usize

Source§

impl VdsoKey for ADINBits

Source§

const ID: u64 = 49u64

Source§

const N: usize = 37usize

Source§

type Item = usize

Source§

impl VdsoKey for ADIUEOnADI

Source§

const ID: u64 = 50u64

Source§

const N: usize = 38usize

Source§

type Item = usize

Source§

impl VdsoKey for BaseAddress

Source§

const ID: u64 = 7u64

Source§

const N: usize = 5usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for BasePlatform

Source§

const ID: u64 = 24u64

Source§

const N: usize = 20usize

Source§

type Item = *const u8

Source§

impl VdsoKey for ClockFrequency

Source§

const ID: u64 = 17u64

Source§

const N: usize = 15usize

Source§

type Item = usize

Source§

impl VdsoKey for DCacheBSize

Source§

const ID: u64 = 19u64

Source§

const N: usize = 16usize

Source§

type Item = usize

Source§

impl VdsoKey for Egid

Source§

const ID: u64 = 14u64

Source§

const N: usize = 12usize

Source§

type Item = u32

Source§

impl VdsoKey for EntryPoint

Source§

const ID: u64 = 9u64

Source§

const N: usize = 7usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for Euid

Source§

const ID: u64 = 12u64

Source§

const N: usize = 10usize

Source§

type Item = u32

Source§

impl VdsoKey for ExecFd

Source§

const ID: u64 = 2u64

Source§

const N: usize = 0usize

Source§

type Item = i32

Source§

impl VdsoKey for Filename

Source§

const ID: u64 = 31u64

Source§

const N: usize = 25usize

Source§

type Item = *const u8

Source§

impl VdsoKey for Flags

Source§

const ID: u64 = 8u64

Source§

const N: usize = 6usize

Source§

type Item = usize

Source§

impl VdsoKey for Gid

Source§

const ID: u64 = 13u64

Source§

const N: usize = 11usize

Source§

type Item = u32

Source§

impl VdsoKey for HardwareCapabilities2

Source§

const ID: u64 = 26u64

Source§

const N: usize = 22usize

Source§

type Item = Features2

Source§

impl VdsoKey for HardwareCapabilities

Source§

const ID: u64 = 16u64

Source§

const N: usize = 14usize

Source§

type Item = usize

Source§

impl VdsoKey for ICacheBSize

Source§

const ID: u64 = 20u64

Source§

const N: usize = 17usize

Source§

type Item = usize

Source§

impl VdsoKey for L1DCacheGeometry

Source§

const ID: u64 = 43u64

Source§

const N: usize = 31usize

Source§

type Item = usize

Source§

impl VdsoKey for L1DCacheSize

Source§

const ID: u64 = 42u64

Source§

const N: usize = 30usize

Source§

type Item = usize

Source§

impl VdsoKey for L1ICacheGeometry

Source§

const ID: u64 = 41u64

Source§

const N: usize = 29usize

Source§

type Item = usize

Source§

impl VdsoKey for L1ICacheSize

Source§

const ID: u64 = 40u64

Source§

const N: usize = 28usize

Source§

type Item = usize

Source§

impl VdsoKey for L2CacheGeometry

Source§

const ID: u64 = 45u64

Source§

const N: usize = 33usize

Source§

type Item = usize

Source§

impl VdsoKey for L2CacheSize

Source§

const ID: u64 = 44u64

Source§

const N: usize = 32usize

Source§

type Item = usize

Source§

impl VdsoKey for L3CacheGeometry

Source§

const ID: u64 = 47u64

Source§

const N: usize = 35usize

Source§

type Item = usize

Source§

impl VdsoKey for L3CacheSize

Source§

const ID: u64 = 46u64

Source§

const N: usize = 34usize

Source§

type Item = usize

Source§

impl VdsoKey for MinimalSignalStackSize

Source§

const ID: u64 = 51u64

Source§

const N: usize = 39usize

Source§

type Item = usize

Source§

impl VdsoKey for NotElf

Source§

const ID: u64 = 10u64

Source§

const N: usize = 8usize

Source§

type Item = bool

Source§

impl VdsoKey for PageSize

Source§

const ID: u64 = 6u64

Source§

const N: usize = 4usize

Source§

type Item = usize

Source§

impl VdsoKey for Platform

Source§

const ID: u64 = 15u64

Source§

const N: usize = 13usize

Source§

type Item = *const u8

Source§

impl VdsoKey for ProgramHeader

Source§

const ID: u64 = 3u64

Source§

const N: usize = 1usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for ProgramHeaderSize

Source§

const ID: u64 = 4u64

Source§

const N: usize = 2usize

Source§

type Item = usize

Source§

impl VdsoKey for ProgramHeadersNumber

Source§

const ID: u64 = 5u64

Source§

const N: usize = 3usize

Source§

type Item = usize

Source§

impl VdsoKey for RSeqAlign

Source§

const ID: u64 = 28u64

Source§

const N: usize = 24usize

Source§

type Item = usize

Source§

impl VdsoKey for RSeqFeatureSize

Source§

const ID: u64 = 27u64

Source§

const N: usize = 23usize

Source§

type Item = usize

Source§

impl VdsoKey for Random

Source§

const ID: u64 = 25u64

Source§

const N: usize = 21usize

Source§

type Item = *const [u8; 16]

Source§

impl VdsoKey for Secure

Source§

const ID: u64 = 23u64

Source§

const N: usize = 19usize

Source§

type Item = bool

Source§

impl VdsoKey for SysInfo

Source§

const ID: u64 = 32u64

Source§

const N: usize = 26usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for SysInfoHeader

Source§

const ID: u64 = 33u64

Source§

const N: usize = 27usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for UCacheBSize

Source§

const ID: u64 = 21u64

Source§

const N: usize = 18usize

Source§

type Item = usize

Source§

impl VdsoKey for Uid

Source§

const ID: u64 = 11u64

Source§

const N: usize = 9usize

Source§

type Item = u32