pub struct Rlimit {
pub soft: RlimitValue,
pub hard: RlimitValue,
}Expand description
Paire (soft, hard) de limites de ressource.
La soft limit est celle réellement appliquée. La hard limit est le
plafond que la soft limit ne peut excéder ; baisser la hard limit est
possible pour tout processus, la relever exige CAP_SYS_RESOURCE.
Fields§
§soft: RlimitValueLimite douce (effectivement appliquée).
hard: RlimitValueLimite dure (plafond pour la soft limit).
Trait Implementations§
impl Copy for Rlimit
impl Eq for Rlimit
impl StructuralPartialEq for Rlimit
Auto Trait Implementations§
impl Freeze for Rlimit
impl RefUnwindSafe for Rlimit
impl Send for Rlimit
impl Sync for Rlimit
impl Unpin for Rlimit
impl UnsafeUnpin for Rlimit
impl UnwindSafe for Rlimit
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