Skip to main content

VdsoKey

Trait VdsoKey 

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

    const ID: u64;
    const N: usize;
}
Available on (32-bit and ARM, or 32-bit and little-endian and x86, or 64-bit and AArch64, or 64-bit and little-endian and x86-64) and (Android or Linux), or Linux and (32-bit and big-endian and PowerPC, or 32-bit and little-endian and RISC-V RV32, or 32-bit and little-endian and x86-64, or 32-bit and MIPS, or 64-bit and big-endian and s390x, or 64-bit and little-endian and LoongArch64, or 64-bit and little-endian and RISC-V RV64, or 64-bit and MIPS-64, or 64-bit and PowerPC64) 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".

Implementors§

Source§

impl VdsoKey for ADIBlockSize

Source§

impl VdsoKey for ADINBits

Source§

impl VdsoKey for ADIUEOnADI

Source§

impl VdsoKey for BaseAddress

Source§

impl VdsoKey for BasePlatform

Source§

impl VdsoKey for ClockFrequency

Source§

impl VdsoKey for DCacheBSize

Source§

impl VdsoKey for Egid

Source§

const ID: u64 = 14

Source§

const N: usize

Source§

type Item = u32

Source§

impl VdsoKey for EntryPoint

Source§

impl VdsoKey for Euid

Source§

const ID: u64 = 12

Source§

const N: usize

Source§

type Item = u32

Source§

impl VdsoKey for ExecFd

Source§

const ID: u64 = 2

Source§

const N: usize = 0

Source§

type Item = i32

Source§

impl VdsoKey for Filename

Source§

impl VdsoKey for Flags

Source§

impl VdsoKey for Gid

Source§

const ID: u64 = 13

Source§

const N: usize

Source§

type Item = u32

Source§

impl VdsoKey for HardwareCapabilities

Source§

impl VdsoKey for HardwareCapabilities2

Source§

impl VdsoKey for ICacheBSize

Source§

impl VdsoKey for L1DCacheGeometry

Source§

impl VdsoKey for L1DCacheSize

Source§

impl VdsoKey for L1ICacheGeometry

Source§

impl VdsoKey for L1ICacheSize

Source§

impl VdsoKey for L2CacheGeometry

Source§

impl VdsoKey for L2CacheSize

Source§

impl VdsoKey for L3CacheGeometry

Source§

impl VdsoKey for L3CacheSize

Source§

impl VdsoKey for MinimalSignalStackSize

Source§

impl VdsoKey for NotElf

Source§

const ID: u64 = 10

Source§

const N: usize

Source§

type Item = bool

Source§

impl VdsoKey for PageSize

Source§

impl VdsoKey for Platform

Source§

impl VdsoKey for ProgramHeader

Source§

impl VdsoKey for ProgramHeaderSize

Source§

impl VdsoKey for ProgramHeadersNumber

Source§

impl VdsoKey for RSeqAlign

Source§

impl VdsoKey for RSeqFeatureSize

Source§

impl VdsoKey for Random

Source§

impl VdsoKey for Secure

Source§

const ID: u64 = 23

Source§

const N: usize

Source§

type Item = bool

Source§

impl VdsoKey for SysInfo

Source§

impl VdsoKey for SysInfoHeader

Source§

impl VdsoKey for UCacheBSize

Source§

impl VdsoKey for Uid

Source§

const ID: u64 = 11

Source§

const N: usize

Source§

type Item = u32