pub struct PosixRlimit {
pub hard: Option<u64>,
pub soft: Option<u64>,
pub type: Option<String>,
}
Available on crate feature
v5
only.Expand description
POSIXRlimit type and restrictions
Fields§
§hard: Option<u64>
Hard is the hard limit for the specified type
soft: Option<u64>
Soft is the soft limit for the specified type
type: Option<String>
Type of the rlimit to set
Trait Implementations§
Source§impl Debug for PosixRlimit
impl Debug for PosixRlimit
Source§impl Default for PosixRlimit
impl Default for PosixRlimit
Source§fn default() -> PosixRlimit
fn default() -> PosixRlimit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PosixRlimit
impl<'de> Deserialize<'de> for PosixRlimit
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 PosixRlimit
impl RefUnwindSafe for PosixRlimit
impl Send for PosixRlimit
impl Sync for PosixRlimit
impl Unpin for PosixRlimit
impl UnwindSafe for PosixRlimit
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