Struct procinfo::pid::Limits [−][src]
Process limits information
See man 2 getrlimit
.
Fields
max_cpu_time: Limit<Duration>
The maximum CPU time a process can use.
max_file_size: Limit<u64>
The maximum size of files that the process may create in bytes.
max_data_size: Limit<usize>
The maximum size of the process’s data segment in bytes.
max_stack_size: Limit<usize>
The maximum size of the process stack in bytes.
max_core_file_size: Limit<usize>
Maximum size of a core file in bytes.
max_resident_set: Limit<usize>
Specifies the limit of the process’s resident set in bytes.
max_processes: Limit<usize>
The maximum number of processes (or, more precisely on Linux, threads) that can be created for the real user ID of the calling process.
max_open_files: Limit<usize>
Specifies a value one greater than the maximum file descriptor number that can be opened by this process.
max_locked_memory: Limit<usize>
The maximum number of bytes of memory that may be locked into RAM.
max_address_space: Limit<usize>
The maximum size of the process’s virtual memory (address space) in bytes.
max_file_locks: Limit<usize>
A limit on the combined number of locks and leases that this process may establish.
max_pending_signals: Limit<usize>
Specifies the limit on the number of signals that may be queued for the real user ID of the calling process.
max_msgqueue_size: Limit<usize>
Specifies the limit on the number of bytes that can be allocated for POSIX message queues for the real user ID of the calling process.
max_nice_priority: Limit<usize>
Specifies a ceiling to which the process’s nice value can be raised.
max_realtime_priority: Limit<usize>
Specifies a limit on the amount of CPU time that a process scheduled under a real-time scheduling policy may consume without making a blocking system call.
max_realtime_timeout: Limit<Duration>
Specifies a ceiling on the real-time priority that may be set for this process.
Trait Implementations
impl Clone for Limits
[src]
impl Copy for Limits
[src]
impl Debug for Limits
[src]
impl Eq for Limits
[src]
impl Hash for Limits
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Limits> for Limits
[src]
impl StructuralEq for Limits
[src]
impl StructuralPartialEq for Limits
[src]
Auto Trait Implementations
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,