VdsoKey

Trait VdsoKey 

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

    const ID: u32;
    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: u32

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: u32 = 48u32

Source§

const N: usize = 36usize

Source§

type Item = usize

Source§

impl VdsoKey for ADINBits

Source§

const ID: u32 = 49u32

Source§

const N: usize = 37usize

Source§

type Item = usize

Source§

impl VdsoKey for ADIUEOnADI

Source§

const ID: u32 = 50u32

Source§

const N: usize = 38usize

Source§

type Item = usize

Source§

impl VdsoKey for BaseAddress

Source§

const ID: u32 = 7u32

Source§

const N: usize = 5usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for BasePlatform

Source§

const ID: u32 = 24u32

Source§

const N: usize = 20usize

Source§

type Item = *const u8

Source§

impl VdsoKey for ClockFrequency

Source§

const ID: u32 = 17u32

Source§

const N: usize = 15usize

Source§

type Item = usize

Source§

impl VdsoKey for DCacheBSize

Source§

const ID: u32 = 19u32

Source§

const N: usize = 16usize

Source§

type Item = usize

Source§

impl VdsoKey for Egid

Source§

const ID: u32 = 14u32

Source§

const N: usize = 12usize

Source§

type Item = u32

Source§

impl VdsoKey for EntryPoint

Source§

const ID: u32 = 9u32

Source§

const N: usize = 7usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for Euid

Source§

const ID: u32 = 12u32

Source§

const N: usize = 10usize

Source§

type Item = u32

Source§

impl VdsoKey for ExecFd

Source§

const ID: u32 = 2u32

Source§

const N: usize = 0usize

Source§

type Item = i32

Source§

impl VdsoKey for Filename

Source§

const ID: u32 = 31u32

Source§

const N: usize = 25usize

Source§

type Item = *const u8

Source§

impl VdsoKey for Flags

Source§

const ID: u32 = 8u32

Source§

const N: usize = 6usize

Source§

type Item = usize

Source§

impl VdsoKey for Gid

Source§

const ID: u32 = 13u32

Source§

const N: usize = 11usize

Source§

type Item = u32

Source§

impl VdsoKey for HardwareCapabilities2

Source§

const ID: u32 = 26u32

Source§

const N: usize = 22usize

Source§

type Item = Features2

Source§

impl VdsoKey for HardwareCapabilities

Source§

const ID: u32 = 16u32

Source§

const N: usize = 14usize

Source§

type Item = Features

Source§

impl VdsoKey for ICacheBSize

Source§

const ID: u32 = 20u32

Source§

const N: usize = 17usize

Source§

type Item = usize

Source§

impl VdsoKey for L1DCacheGeometry

Source§

const ID: u32 = 43u32

Source§

const N: usize = 31usize

Source§

type Item = usize

Source§

impl VdsoKey for L1DCacheSize

Source§

const ID: u32 = 42u32

Source§

const N: usize = 30usize

Source§

type Item = usize

Source§

impl VdsoKey for L1ICacheGeometry

Source§

const ID: u32 = 41u32

Source§

const N: usize = 29usize

Source§

type Item = usize

Source§

impl VdsoKey for L1ICacheSize

Source§

const ID: u32 = 40u32

Source§

const N: usize = 28usize

Source§

type Item = usize

Source§

impl VdsoKey for L2CacheGeometry

Source§

const ID: u32 = 45u32

Source§

const N: usize = 33usize

Source§

type Item = usize

Source§

impl VdsoKey for L2CacheSize

Source§

const ID: u32 = 44u32

Source§

const N: usize = 32usize

Source§

type Item = usize

Source§

impl VdsoKey for L3CacheGeometry

Source§

const ID: u32 = 47u32

Source§

const N: usize = 35usize

Source§

type Item = usize

Source§

impl VdsoKey for L3CacheSize

Source§

const ID: u32 = 46u32

Source§

const N: usize = 34usize

Source§

type Item = usize

Source§

impl VdsoKey for MinimalSignalStackSize

Source§

const ID: u32 = 51u32

Source§

const N: usize = 39usize

Source§

type Item = usize

Source§

impl VdsoKey for NotElf

Source§

const ID: u32 = 10u32

Source§

const N: usize = 8usize

Source§

type Item = bool

Source§

impl VdsoKey for PageSize

Source§

const ID: u32 = 6u32

Source§

const N: usize = 4usize

Source§

type Item = usize

Source§

impl VdsoKey for Platform

Source§

const ID: u32 = 15u32

Source§

const N: usize = 13usize

Source§

type Item = *const u8

Source§

impl VdsoKey for ProgramHeader

Source§

const ID: u32 = 3u32

Source§

const N: usize = 1usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for ProgramHeaderSize

Source§

const ID: u32 = 4u32

Source§

const N: usize = 2usize

Source§

type Item = usize

Source§

impl VdsoKey for ProgramHeadersNumber

Source§

const ID: u32 = 5u32

Source§

const N: usize = 3usize

Source§

type Item = usize

Source§

impl VdsoKey for RSeqAlign

Source§

const ID: u32 = 28u32

Source§

const N: usize = 24usize

Source§

type Item = usize

Source§

impl VdsoKey for RSeqFeatureSize

Source§

const ID: u32 = 27u32

Source§

const N: usize = 23usize

Source§

type Item = usize

Source§

impl VdsoKey for Random

Source§

const ID: u32 = 25u32

Source§

const N: usize = 21usize

Source§

type Item = *const [u8; 16]

Source§

impl VdsoKey for Secure

Source§

const ID: u32 = 23u32

Source§

const N: usize = 19usize

Source§

type Item = bool

Source§

impl VdsoKey for SysInfo

Source§

const ID: u32 = 32u32

Source§

const N: usize = 26usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for SysInfoHeader

Source§

const ID: u32 = 33u32

Source§

const N: usize = 27usize

Source§

type Item = *const c_void

Source§

impl VdsoKey for UCacheBSize

Source§

const ID: u32 = 21u32

Source§

const N: usize = 18usize

Source§

type Item = usize

Source§

impl VdsoKey for Uid

Source§

const ID: u32 = 11u32

Source§

const N: usize = 9usize

Source§

type Item = u32