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