pub struct PosixRlimitBuilder { /* private fields */ }
Expand description
Builder for PosixRlimit
.
Implementations§
Source§impl PosixRlimitBuilder
impl PosixRlimitBuilder
Sourcepub fn typ<VALUE: Into<PosixRlimitType>>(self, value: VALUE) -> Self
pub fn typ<VALUE: Into<PosixRlimitType>>(self, value: VALUE) -> Self
Type of Rlimit to set
Sourcepub fn build(self) -> Result<PosixRlimit, OciSpecError>
pub fn build(self) -> Result<PosixRlimit, OciSpecError>
Trait Implementations§
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