Struct oci_spec::runtime::LinuxRlimitBuilder
source · pub struct LinuxRlimitBuilder { /* private fields */ }
Expand description
Builder for LinuxRlimit
.
Implementations§
source§impl LinuxRlimitBuilder
impl LinuxRlimitBuilder
sourcepub fn typ<VALUE: Into<LinuxRlimitType>>(self, value: VALUE) -> Self
pub fn typ<VALUE: Into<LinuxRlimitType>>(self, value: VALUE) -> Self
Type of Rlimit to set
sourcepub fn build(self) -> Result<LinuxRlimit, OciSpecError>
pub fn build(self) -> Result<LinuxRlimit, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LinuxRlimitBuilder
impl Send for LinuxRlimitBuilder
impl Sync for LinuxRlimitBuilder
impl Unpin for LinuxRlimitBuilder
impl UnwindSafe for LinuxRlimitBuilder
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