Skip to main content

ArchPrctlOp

Struct ArchPrctlOp 

Source
pub struct ArchPrctlOp(/* private fields */);

Implementations§

Source§

impl ArchPrctlOp

Source

pub const ARCH_SET_CPUID: Self

Source

pub const ARCH_GET_CPUID: Self

Source

pub const ARCH_SET_FS: Self

Source

pub const ARCH_GET_FS: Self

Source

pub const ARCH_SET_GS: Self

Source

pub const ARCH_GET_GS: Self

Source

pub const ARCH_GET_XCOMP_SUPP: Self

Source

pub const ARCH_GET_XCOMP_PERM: Self

Source

pub const ARCH_REQ_XCOMP_PERM: Self

Source

pub const ARCH_GET_XCOMP_GUEST_PERM: Self

Source

pub const ARCH_REQ_XCOMP_GUEST_PERM: Self

Source

pub const ARCH_XCOMP_TILECFG: Self

Source

pub const ARCH_XCOMP_TILEDATA: Self

Source

pub const ARCH_MAP_VDSO_X32: Self

Source

pub const ARCH_MAP_VDSO_32: Self

Source

pub const ARCH_MAP_VDSO_64: Self

Source

pub const ARCH_GET_UNTAG_MASK: Self

Source

pub const ARCH_ENABLE_TAGGED_ADDR: Self

Source

pub const ARCH_GET_MAX_TAG_BITS: Self

Source

pub const ARCH_FORCE_TAGGED_SVA: Self

Source

pub const ARCH_SHSTK_ENABLE: Self

Source

pub const ARCH_SHSTK_DISABLE: Self

Source

pub const ARCH_SHSTK_LOCK: Self

Source

pub const ARCH_SHSTK_UNLOCK: Self

Source

pub const ARCH_SHSTK_STATUS: Self

Source

pub const ARCH_SHSTK_SHSTK: Self

Source

pub const ARCH_SHSTK_WRSS: Self

Source

pub const fn new(val: i32) -> Self

Source

pub const fn to_str(&self) -> Option<&'static str>

Trait Implementations§

Source§

impl Debug for ArchPrctlOp

Source§

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

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

impl Display for ArchPrctlOp

Source§

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

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

impl Eq for ArchPrctlOp

Source§

impl From<ArchPrctlOp> for c_int

Source§

fn from(value: ArchPrctlOp) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for ArchPrctlOp

Source§

fn eq(&self, other: &ArchPrctlOp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 StructuralPartialEq for ArchPrctlOp

Auto Trait Implementations§

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
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.