Enum rustix::thread::prctl::SysCallUserDispatchFastSwitch
source · #[repr(u8)]pub enum SysCallUserDispatchFastSwitch {
Allow = 0,
Block = 1,
}
Expand description
Value of the fast switch flag controlling system calls user dispatch mechanism without the need to issue a syscall.
Variants§
Trait Implementations§
source§impl Clone for SysCallUserDispatchFastSwitch
impl Clone for SysCallUserDispatchFastSwitch
source§fn clone(&self) -> SysCallUserDispatchFastSwitch
fn clone(&self) -> SysCallUserDispatchFastSwitch
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 PartialEq for SysCallUserDispatchFastSwitch
impl PartialEq for SysCallUserDispatchFastSwitch
source§fn eq(&self, other: &SysCallUserDispatchFastSwitch) -> bool
fn eq(&self, other: &SysCallUserDispatchFastSwitch) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl TryFrom<u8> for SysCallUserDispatchFastSwitch
impl TryFrom<u8> for SysCallUserDispatchFastSwitch
impl Copy for SysCallUserDispatchFastSwitch
impl Eq for SysCallUserDispatchFastSwitch
impl StructuralPartialEq for SysCallUserDispatchFastSwitch
Auto Trait Implementations§
impl Freeze for SysCallUserDispatchFastSwitch
impl RefUnwindSafe for SysCallUserDispatchFastSwitch
impl Send for SysCallUserDispatchFastSwitch
impl Sync for SysCallUserDispatchFastSwitch
impl Unpin for SysCallUserDispatchFastSwitch
impl UnwindSafe for SysCallUserDispatchFastSwitch
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)