pub struct PosixRlimit {
pub hard: Option<i32>,
pub soft: Option<i32>,
pub type: Option<String>,
}
Expand description
PosixRlimit : POSIXRlimit type and restrictions
Fields§
§hard: Option<i32>
Hard is the hard limit for the specified type
soft: Option<i32>
Soft is the soft limit for the specified type
type: Option<String>
Type of the rlimit to set
Implementations§
Source§impl PosixRlimit
impl PosixRlimit
Sourcepub fn new() -> PosixRlimit
pub fn new() -> PosixRlimit
POSIXRlimit type and restrictions
Trait Implementations§
Source§impl Clone for PosixRlimit
impl Clone for PosixRlimit
Source§fn clone(&self) -> PosixRlimit
fn clone(&self) -> PosixRlimit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Source§impl PartialEq for PosixRlimit
impl PartialEq for PosixRlimit
Source§impl Serialize for PosixRlimit
impl Serialize for PosixRlimit
impl StructuralPartialEq for PosixRlimit
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