pub struct Solaris { /* private fields */ }
Expand description
Solaris contains platform-specific configuration for Solaris application containers.
Implementations§
source§impl Solaris
impl Solaris
sourcepub fn milestone(&self) -> &Option<String>
pub fn milestone(&self) -> &Option<String>
SMF FMRI which should go “online” before we start the container process.
sourcepub fn limitpriv(&self) -> &Option<String>
pub fn limitpriv(&self) -> &Option<String>
Maximum set of privileges any process in this container can obtain.
sourcepub fn max_shm_memory(&self) -> &Option<String>
pub fn max_shm_memory(&self) -> &Option<String>
The maximum amount of shared memory allowed for this container.
sourcepub fn anet(&self) -> &Option<Vec<SolarisAnet>>
pub fn anet(&self) -> &Option<Vec<SolarisAnet>>
Specification for automatic creation of network resources for this container.
sourcepub fn capped_cpu(&self) -> &Option<SolarisCappedCPU>
pub fn capped_cpu(&self) -> &Option<SolarisCappedCPU>
Set limit on the amount of CPU time that can be used by container.
sourcepub fn capped_memory(&self) -> &Option<SolarisCappedMemory>
pub fn capped_memory(&self) -> &Option<SolarisCappedMemory>
The physical and swap caps on the memory that can be used by this container.
source§impl Solaris
impl Solaris
sourcepub fn set_milestone(&mut self, val: Option<String>) -> &mut Self
pub fn set_milestone(&mut self, val: Option<String>) -> &mut Self
SMF FMRI which should go “online” before we start the container process.
sourcepub fn set_limitpriv(&mut self, val: Option<String>) -> &mut Self
pub fn set_limitpriv(&mut self, val: Option<String>) -> &mut Self
Maximum set of privileges any process in this container can obtain.
sourcepub fn set_max_shm_memory(&mut self, val: Option<String>) -> &mut Self
pub fn set_max_shm_memory(&mut self, val: Option<String>) -> &mut Self
The maximum amount of shared memory allowed for this container.
sourcepub fn set_anet(&mut self, val: Option<Vec<SolarisAnet>>) -> &mut Self
pub fn set_anet(&mut self, val: Option<Vec<SolarisAnet>>) -> &mut Self
Specification for automatic creation of network resources for this container.
sourcepub fn set_capped_cpu(&mut self, val: Option<SolarisCappedCPU>) -> &mut Self
pub fn set_capped_cpu(&mut self, val: Option<SolarisCappedCPU>) -> &mut Self
Set limit on the amount of CPU time that can be used by container.
sourcepub fn set_capped_memory(
&mut self,
val: Option<SolarisCappedMemory>,
) -> &mut Self
pub fn set_capped_memory( &mut self, val: Option<SolarisCappedMemory>, ) -> &mut Self
The physical and swap caps on the memory that can be used by this container.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Solaris
impl<'de> Deserialize<'de> for Solaris
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Solaris
impl StructuralPartialEq for Solaris
Auto Trait Implementations§
impl Freeze for Solaris
impl RefUnwindSafe for Solaris
impl Send for Solaris
impl Sync for Solaris
impl Unpin for Solaris
impl UnwindSafe for Solaris
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)