#[repr(usize)]pub enum ArchPrctlCmd {
SetGS = 4_097,
SetFS = 4_098,
GetFS = 4_099,
GetGS = 4_100,
}Expand description
Architecture-specific command for the arch_prctl syscall.
Variants§
SetGS = 4_097
Set Per-CPU base
SetFS = 4_098
Set Thread Local Storage (TLS) base
GetFS = 4_099
Get Thread Local Storage (TLS) base
GetGS = 4_100
Get Per-CPU base
Trait Implementations§
Source§impl Clone for ArchPrctlCmd
impl Clone for ArchPrctlCmd
Source§fn clone(&self) -> ArchPrctlCmd
fn clone(&self) -> ArchPrctlCmd
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArchPrctlCmd
impl Debug for ArchPrctlCmd
Source§impl TryFrom<usize> for ArchPrctlCmd
impl TryFrom<usize> for ArchPrctlCmd
Auto Trait Implementations§
impl Freeze for ArchPrctlCmd
impl RefUnwindSafe for ArchPrctlCmd
impl Send for ArchPrctlCmd
impl Sync for ArchPrctlCmd
impl Unpin for ArchPrctlCmd
impl UnwindSafe for ArchPrctlCmd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more