Struct procfs::sys::kernel::SemaphoreLimits
source · Expand description
Represents the data from /proc/sys/kernel/sem
Fields§
§semmsl: u64
The maximum semaphores per semaphore set
semmns: u64
A system-wide limit on the number of semaphores in all semaphore sets
semopm: u64
The maximum number of operations that may be specified in a semop(2) call
semmni: u64
A system-wide limit on the maximum number of semaphore identifiers
Implementations§
source§impl SemaphoreLimits
impl SemaphoreLimits
pub fn new() -> ProcResult<Self>
Trait Implementations§
source§impl Clone for SemaphoreLimits
impl Clone for SemaphoreLimits
source§fn clone(&self) -> SemaphoreLimits
fn clone(&self) -> SemaphoreLimits
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 SemaphoreLimits
impl Debug for SemaphoreLimits
source§impl FromStr for SemaphoreLimits
impl FromStr for SemaphoreLimits
source§impl PartialEq<SemaphoreLimits> for SemaphoreLimits
impl PartialEq<SemaphoreLimits> for SemaphoreLimits
source§fn eq(&self, other: &SemaphoreLimits) -> bool
fn eq(&self, other: &SemaphoreLimits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.