Struct oci_spec::runtime::PosixRlimitBuilder
source · 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