Struct oci_spec::runtime::LinuxBlockIo [−][src]
pub struct LinuxBlockIo {
pub weight: Option<u16>,
pub leaf_weight: Option<u16>,
pub weight_device: Option<Vec<LinuxWeightDevice>>,
pub throttle_read_bps_device: Option<Vec<LinuxThrottleDevice>>,
pub throttle_write_bps_device: Option<Vec<LinuxThrottleDevice>>,
pub throttle_read_iops_device: Option<Vec<LinuxThrottleDevice>>,
pub throttle_write_iops_device: Option<Vec<LinuxThrottleDevice>>,
}
Expand description
LinuxBlockIO for Linux cgroup ‘blkio’ resource management.
Fields
weight: Option<u16>
Specifies per cgroup weight.
leaf_weight: Option<u16>
Specifies tasks’ weight in the given cgroup while competing with the cgroup’s child cgroups, CFQ scheduler only.
weight_device: Option<Vec<LinuxWeightDevice>>
Weight per cgroup per device, can override BlkioWeight.
throttle_read_bps_device: Option<Vec<LinuxThrottleDevice>>
IO read rate limit per cgroup per device, bytes per second.
throttle_write_bps_device: Option<Vec<LinuxThrottleDevice>>
IO write rate limit per cgroup per device, bytes per second.
throttle_read_iops_device: Option<Vec<LinuxThrottleDevice>>
IO read rate limit per cgroup per device, IO per second.
throttle_write_iops_device: Option<Vec<LinuxThrottleDevice>>
IO write rate limit per cgroup per device, IO per second.
Trait Implementations
Returns the “default value” for a type. Read more
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>,
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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for LinuxBlockIo
impl Send for LinuxBlockIo
impl Sync for LinuxBlockIo
impl Unpin for LinuxBlockIo
impl UnwindSafe for LinuxBlockIo
Blanket Implementations
Mutably borrows from an owned value. Read more