pub struct POSIXRlimitBuilder { /* private fields */ }
Expand description
Builder for POSIXRlimit
.
Implementations§
Source§impl POSIXRlimitBuilder
impl POSIXRlimitBuilder
Sourcepub fn rlimit_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn rlimit_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Type of the rlimit to set
Sourcepub fn hard<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn hard<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Hard is the hard limit for the specified type
Trait Implementations§
Source§impl Clone for POSIXRlimitBuilder
impl Clone for POSIXRlimitBuilder
Source§fn clone(&self) -> POSIXRlimitBuilder
fn clone(&self) -> POSIXRlimitBuilder
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 Default for POSIXRlimitBuilder
impl Default for POSIXRlimitBuilder
Source§fn default() -> POSIXRlimitBuilder
fn default() -> POSIXRlimitBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for POSIXRlimitBuilder
impl RefUnwindSafe for POSIXRlimitBuilder
impl Send for POSIXRlimitBuilder
impl Sync for POSIXRlimitBuilder
impl Unpin for POSIXRlimitBuilder
impl UnwindSafe for POSIXRlimitBuilder
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