pub struct PosixRlimit {
pub hard: Option<u64>,
pub soft: Option<u64>,
pub type_: Option<String>,
}
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 Clone for PosixRlimit
impl Clone for PosixRlimit
Source§fn clone(&self) -> PosixRlimit
fn clone(&self) -> PosixRlimit
Returns a copy 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<'de> Deserialize<'de> for PosixRlimit
impl<'de> Deserialize<'de> for PosixRlimit
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PosixRlimit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PosixRlimit, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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