pub struct IpcShmInfo {
pub key: u32,
pub shmid: u32,
pub size: u64,
pub owner_pid: u32,
pub creator_pid: u32,
pub permissions: u32,
pub num_attaches: u32,
}Expand description
Information about a System V shared memory segment.
Fields§
§key: u32IPC key used to create/access the segment.
shmid: u32Shared memory identifier.
size: u64Size of the shared memory segment in bytes.
owner_pid: u32PID of the last process to operate on the segment.
creator_pid: u32PID of the process that created the segment.
permissions: u32Permission bits (rwxrwxrwx).
num_attaches: u32Number of current attaches.
Trait Implementations§
Source§impl Clone for IpcShmInfo
impl Clone for IpcShmInfo
Source§fn clone(&self) -> IpcShmInfo
fn clone(&self) -> IpcShmInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IpcShmInfo
impl Debug for IpcShmInfo
Auto Trait Implementations§
impl Freeze for IpcShmInfo
impl RefUnwindSafe for IpcShmInfo
impl Send for IpcShmInfo
impl Sync for IpcShmInfo
impl Unpin for IpcShmInfo
impl UnsafeUnpin for IpcShmInfo
impl UnwindSafe for IpcShmInfo
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