Enum rustix::process::DumpableBehavior
source · #[repr(i32)]pub enum DumpableBehavior {
NotDumpable = 0,
Dumpable = 1,
DumpableReadableOnlyByRoot = 2,
}
Expand description
SUID_DUMP_*
values for use with dumpable_behavior
and
set_dumpable_behavior
.
Variants§
NotDumpable = 0
Not dumpable.
Dumpable = 1
Dumpable.
DumpableReadableOnlyByRoot = 2
Dumpable but only readable by root.
Trait Implementations§
source§impl Clone for DumpableBehavior
impl Clone for DumpableBehavior
source§fn clone(&self) -> DumpableBehavior
fn clone(&self) -> DumpableBehavior
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 DumpableBehavior
impl Debug for DumpableBehavior
source§impl PartialEq for DumpableBehavior
impl PartialEq for DumpableBehavior
source§fn eq(&self, other: &DumpableBehavior) -> bool
fn eq(&self, other: &DumpableBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for DumpableBehavior
impl TryFrom<i32> for DumpableBehavior
impl Copy for DumpableBehavior
impl Eq for DumpableBehavior
impl StructuralPartialEq for DumpableBehavior
Auto Trait Implementations§
impl Freeze for DumpableBehavior
impl RefUnwindSafe for DumpableBehavior
impl Send for DumpableBehavior
impl Sync for DumpableBehavior
impl Unpin for DumpableBehavior
impl UnwindSafe for DumpableBehavior
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)