pub struct Rlimit {
pub rlimit_type: String,
pub soft: u64,
pub hard: u64,
}Expand description
Resource limit (rlimit) configuration.
Fields§
§rlimit_type: StringLimit type (e.g., RLIMIT_NOFILE).
soft: u64Soft limit.
hard: u64Hard limit.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rlimit
impl<'de> Deserialize<'de> for Rlimit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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