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
impl Copy for SemaphoreLimits
impl Eq for SemaphoreLimits
impl StructuralPartialEq for SemaphoreLimits
Auto Trait Implementations§
impl Freeze for SemaphoreLimits
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
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
)