Struct cgroups_rs::BlkIoResources[][src]

pub struct BlkIoResources {
    pub weight: Option<u16>,
    pub leaf_weight: Option<u16>,
    pub weight_device: Vec<BlkIoDeviceResource>,
    pub throttle_read_bps_device: Vec<BlkIoDeviceThrottleResource>,
    pub throttle_read_iops_device: Vec<BlkIoDeviceThrottleResource>,
    pub throttle_write_bps_device: Vec<BlkIoDeviceThrottleResource>,
    pub throttle_write_iops_device: Vec<BlkIoDeviceThrottleResource>,
}

General block I/O resource limits.

Fields

weight: Option<u16>

The weight of the control group against descendant nodes.

leaf_weight: Option<u16>

The weight of the control group against sibling nodes.

weight_device: Vec<BlkIoDeviceResource>

For each device, a separate weight (both normal and leaf) can be provided.

throttle_read_bps_device: Vec<BlkIoDeviceThrottleResource>

Throttled read bytes/second can be provided for each device.

throttle_read_iops_device: Vec<BlkIoDeviceThrottleResource>

Throttled read IO operations per second can be provided for each device.

throttle_write_bps_device: Vec<BlkIoDeviceThrottleResource>

Throttled written bytes/second can be provided for each device.

throttle_write_iops_device: Vec<BlkIoDeviceThrottleResource>

Throttled write IO operations per second can be provided for each device.

Trait Implementations

impl Clone for BlkIoResources[src]

impl Debug for BlkIoResources[src]

impl Default for BlkIoResources[src]

impl Eq for BlkIoResources[src]

impl PartialEq<BlkIoResources> for BlkIoResources[src]

impl StructuralEq for BlkIoResources[src]

impl StructuralPartialEq for BlkIoResources[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.