Struct mprober_lib::process::ProcessStatus
source · [−]pub struct ProcessStatus {
pub real_uid: u32,
pub real_gid: u32,
pub effective_uid: u32,
pub effective_gid: u32,
pub saved_set_uid: u32,
pub saved_set_gid: u32,
pub fs_uid: u32,
pub fs_gid: u32,
}Fields
real_uid: u32The user who created this process or the UID set via setuid() by the root caller.
real_gid: u32The group who created this process or the GID set via setgid() by the root caller.
effective_uid: u32The UID set via setuid() by the caller.
effective_gid: u32The GID set via setgid() by the caller.
saved_set_uid: u32The UID set via setuid() by the root caller
saved_set_gid: u32The GID set via setgid() by the root caller
fs_uid: u32The UID of the running executable file of this process.
fs_gid: u32The GID of the running executable file of this process.
Trait Implementations
sourceimpl Clone for ProcessStatus
impl Clone for ProcessStatus
sourcefn clone(&self) -> ProcessStatus
fn clone(&self) -> ProcessStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ProcessStatus
impl Debug for ProcessStatus
sourceimpl Default for ProcessStatus
impl Default for ProcessStatus
sourcefn default() -> ProcessStatus
fn default() -> ProcessStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProcessStatus
impl Send for ProcessStatus
impl Sync for ProcessStatus
impl Unpin for ProcessStatus
impl UnwindSafe for ProcessStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more