pub struct Limits {
pub max_open_files_soft: Option<u64>,
pub max_open_files_hard: Option<u64>,
}Expand description
Subset of /proc/<pid>/limits that we care about.
Fields§
§max_open_files_soft: Option<u64>Soft limit for “Max open files”, if set and not “unlimited”.
max_open_files_hard: Option<u64>Hard limit for “Max open files”, if set and not “unlimited”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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