Struct oci_spec::runtime::Solaris[][src]

pub struct Solaris {
    pub milestone: Option<String>,
    pub limitpriv: Option<String>,
    pub max_shm_memory: Option<String>,
    pub anet: Option<Vec<SolarisAnet>>,
    pub capped_cpu: Option<SolarisCappedCPU>,
    pub capped_memory: Option<SolarisCappedMemory>,
}
Expand description

Solaris contains platform-specific configuration for Solaris application containers.

Fields

milestone: Option<String>

SMF FMRI which should go “online” before we start the container process.

limitpriv: Option<String>

Maximum set of privileges any process in this container can obtain.

max_shm_memory: Option<String>

The maximum amount of shared memory allowed for this container.

anet: Option<Vec<SolarisAnet>>

Specification for automatic creation of network resources for this container.

capped_cpu: Option<SolarisCappedCPU>

Set limit on the amount of CPU time that can be used by container.

capped_memory: Option<SolarisCappedMemory>

The physical and swap caps on the memory that can be used by this container.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.