Skip to main content

Entry

Enum Entry 

Source
pub enum Entry<'a> {
Show 23 variants ExecFd(usize), PHdr(usize), PHent(usize), PHnum(usize), PageSize(usize), Base(usize), Flags(usize), Entry(usize), NotElf(bool), Uid(usize), EUid(usize), Gid(usize), EGid(usize), Platform(&'a str), HwCap(usize), ClockTick(usize), Secure(bool), BasePlatform(&'a str), Random([u8; 16]), HwCap2(usize), ExecFilename(&'a str), SysInfo(usize), SysInfoEHdr(usize),
}
Expand description

An auxiliary vector entry

Variants§

§

ExecFd(usize)

file descriptor of program

§

PHdr(usize)

program headers for program

§

PHent(usize)

size of program header entry

§

PHnum(usize)

number of program headers

§

PageSize(usize)

system page size

§

Base(usize)

base address of interpreter

§

Flags(usize)

flags

§

Entry(usize)

entry point of program

§

NotElf(bool)

program is not ELF

§

Uid(usize)

real uid

§

EUid(usize)

effective uid

§

Gid(usize)

real gid

§

EGid(usize)

effective gid

§

Platform(&'a str)

string identifying CPU for optimizations

§

HwCap(usize)

arch dependent hints at CPU capabilities

§

ClockTick(usize)

frequency at which times() increments

§

Secure(bool)

secure mode boolean

§

BasePlatform(&'a str)

string identifying real platform, may differ from Platform.

§

Random([u8; 16])

address of 16 random bytes

§

HwCap2(usize)

extension of HWCAP

§

ExecFilename(&'a str)

filename of program

§

SysInfo(usize)

pointer to the vDSO page (deprecated)

§

SysInfoEHdr(usize)

pointer to the ELF headers of the vDSO page

Trait Implementations§

Source§

impl<'a> Debug for Entry<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> PartialEq for Entry<'a>

Source§

fn eq(&self, other: &Entry<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> StructuralPartialEq for Entry<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Entry<'a>

§

impl<'a> RefUnwindSafe for Entry<'a>

§

impl<'a> Send for Entry<'a>

§

impl<'a> Sync for Entry<'a>

§

impl<'a> Unpin for Entry<'a>

§

impl<'a> UnsafeUnpin for Entry<'a>

§

impl<'a> UnwindSafe for Entry<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.