pub struct Shm {}
Expand description
A shared memory segment parsed from /proc/sysvipc/shm
Relation with crate::process::MMapPath::Vsys
Fields§
§key: i32
Segment key
shmid: u64
Segment ID, unique
perms: u16
Access permissions, as octal
size: u64
Size in bytes
cpid: i32
Creator PID
lpid: i32
Last operator PID
nattch: u32
Number of attached processes
uid: u16
User ID
gid: u16
Group ID
cuid: u16
Creator UID
cgid: u16
Creator GID
atime: u64
Time of last shmat
(attach), epoch
dtime: u64
Time of last shmdt
(detach), epoch
ctime: u64
Time of last permission change, epoch
rss: u64
Current part of the shared memory resident in memory
swap: u64
Current part of the shared memory in SWAP
Trait Implementations§
source§impl<'de> Deserialize<'de> for Shm
impl<'de> Deserialize<'de> for Shm
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Shm
impl Ord for Shm
source§impl PartialOrd for Shm
impl PartialOrd for Shm
impl Copy for Shm
impl Eq for Shm
impl StructuralPartialEq for Shm
Auto Trait Implementations§
impl Freeze for Shm
impl RefUnwindSafe for Shm
impl Send for Shm
impl Sync for Shm
impl Unpin for Shm
impl UnwindSafe for Shm
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
)