pub struct IpcSemInfo {
pub key: u32,
pub semid: u32,
pub num_sems: u32,
pub owner_pid: u32,
pub permissions: u32,
}Expand description
Information about a System V semaphore set.
Fields§
§key: u32IPC key used to create/access the semaphore set.
semid: u32Semaphore set identifier.
num_sems: u32Number of semaphores in the set.
owner_pid: u32PID of the owner.
permissions: u32Permission bits (rwxrwxrwx).
Trait Implementations§
Source§impl Clone for IpcSemInfo
impl Clone for IpcSemInfo
Source§fn clone(&self) -> IpcSemInfo
fn clone(&self) -> IpcSemInfo
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 IpcSemInfo
impl Debug for IpcSemInfo
Auto Trait Implementations§
impl Freeze for IpcSemInfo
impl RefUnwindSafe for IpcSemInfo
impl Send for IpcSemInfo
impl Sync for IpcSemInfo
impl Unpin for IpcSemInfo
impl UnsafeUnpin for IpcSemInfo
impl UnwindSafe for IpcSemInfo
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