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
)