Struct oci_spec::runtime::LinuxBlockIo
source · [−]pub struct LinuxBlockIo { /* private fields */ }Expand description
LinuxBlockIO for Linux cgroup ‘blkio’ resource management.
Implementations
Weight per cgroup per device, can override BlkioWeight.
IO read rate limit per cgroup per device, bytes per second.
IO write rate limit per cgroup per device, bytes per second.
IO read rate limit per cgroup per device, IO per second.
IO write rate limit per cgroup per device, IO per second.
Specifies per cgroup weight.
Specifies tasks’ weight in the given cgroup while competing with the cgroup’s child cgroups, CFQ scheduler only.
Weight per cgroup per device, can override BlkioWeight.
pub fn set_throttle_read_bps_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
pub fn set_throttle_read_bps_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
IO read rate limit per cgroup per device, bytes per second.
pub fn set_throttle_write_bps_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
pub fn set_throttle_write_bps_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
IO write rate limit per cgroup per device, bytes per second.
pub fn set_throttle_read_iops_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
pub fn set_throttle_read_iops_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
IO read rate limit per cgroup per device, IO per second.
pub fn set_throttle_write_iops_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
pub fn set_throttle_write_iops_device(
&mut self,
val: Option<Vec<LinuxThrottleDevice>>
) -> &mut Self
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
Compare self to key and return true if they are equal.