Struct oci_spec::runtime::SolarisBuilder
source · pub struct SolarisBuilder { /* private fields */ }
Expand description
Builder for Solaris
.
Implementations§
source§impl SolarisBuilder
impl SolarisBuilder
sourcepub fn milestone<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn milestone<VALUE: Into<String>>(self, value: VALUE) -> Self
SMF FMRI which should go “online” before we start the container process.
sourcepub fn limitpriv<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn limitpriv<VALUE: Into<String>>(self, value: VALUE) -> Self
Maximum set of privileges any process in this container can obtain.
sourcepub fn max_shm_memory<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn max_shm_memory<VALUE: Into<String>>(self, value: VALUE) -> Self
The maximum amount of shared memory allowed for this container.
sourcepub fn anet<VALUE: Into<Vec<SolarisAnet>>>(self, value: VALUE) -> Self
pub fn anet<VALUE: Into<Vec<SolarisAnet>>>(self, value: VALUE) -> Self
Specification for automatic creation of network resources for this container.
sourcepub fn capped_cpu<VALUE: Into<SolarisCappedCPU>>(self, value: VALUE) -> Self
pub fn capped_cpu<VALUE: Into<SolarisCappedCPU>>(self, value: VALUE) -> Self
Set limit on the amount of CPU time that can be used by container.
sourcepub fn capped_memory<VALUE: Into<SolarisCappedMemory>>(
self,
value: VALUE,
) -> Self
pub fn capped_memory<VALUE: Into<SolarisCappedMemory>>( self, value: VALUE, ) -> Self
The physical and swap caps on the memory that can be used by this container.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolarisBuilder
impl RefUnwindSafe for SolarisBuilder
impl Send for SolarisBuilder
impl Sync for SolarisBuilder
impl Unpin for SolarisBuilder
impl UnwindSafe for SolarisBuilder
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