pub struct BlkIoDeviceThrottleResource {
pub major: u64,
pub minor: u64,
pub rate: u64,
}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 duplicate 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
impl Eq for BlkIoDeviceThrottleResource
impl StructuralPartialEq for BlkIoDeviceThrottleResource
Auto Trait Implementations§
impl Freeze for BlkIoDeviceThrottleResource
impl RefUnwindSafe for BlkIoDeviceThrottleResource
impl Send for BlkIoDeviceThrottleResource
impl Sync for BlkIoDeviceThrottleResource
impl Unpin for BlkIoDeviceThrottleResource
impl UnwindSafe for BlkIoDeviceThrottleResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more