Struct procfs_core::sys::kernel::SemaphoreLimits
source · pub struct SemaphoreLimits {
pub semmsl: u64,
pub semmns: u64,
pub semopm: u64,
pub semmni: u64,
}
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
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 for SemaphoreLimits
impl PartialEq 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 ==
.impl Copy for SemaphoreLimits
impl Eq for SemaphoreLimits
impl StructuralEq for SemaphoreLimits
impl StructuralPartialEq for SemaphoreLimits
Auto Trait Implementations§
impl RefUnwindSafe for SemaphoreLimits
impl Send for SemaphoreLimits
impl Sync for SemaphoreLimits
impl Unpin for SemaphoreLimits
impl UnwindSafe for SemaphoreLimits
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