Struct cgroups_rs::BlkIoDeviceThrottleResource
source · Expand description
Provides the ability to throttle a device (both byte/sec, and IO op/s)
Fields§
§major: u64The major number of the device.
minor: u64The minor number of the device.
rate: u64The rate.
Trait Implementations§
source§impl Clone for BlkIoDeviceThrottleResource
impl Clone for BlkIoDeviceThrottleResource
source§fn clone(&self) -> BlkIoDeviceThrottleResource
fn clone(&self) -> BlkIoDeviceThrottleResource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlkIoDeviceThrottleResource
impl Debug for BlkIoDeviceThrottleResource
source§impl Default for BlkIoDeviceThrottleResource
impl Default for BlkIoDeviceThrottleResource
source§fn default() -> BlkIoDeviceThrottleResource
fn default() -> BlkIoDeviceThrottleResource
Returns the “default value” for a type. Read more
source§impl PartialEq<BlkIoDeviceThrottleResource> for BlkIoDeviceThrottleResource
impl PartialEq<BlkIoDeviceThrottleResource> for BlkIoDeviceThrottleResource
source§fn eq(&self, other: &BlkIoDeviceThrottleResource) -> bool
fn eq(&self, other: &BlkIoDeviceThrottleResource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.