pub struct InspectBlkioWeightDevice {
pub path: Option<String>,
pub weight: Option<u16>,
}
Available on crate feature
v5
only.Expand description
InspectBlkioWeightDevice holds information about the relative weight of an individual device node. Weights are used in the I/O scheduler to give relative priority to some accesses.
Fields§
§path: Option<String>
Path is the path to the device this applies to.
weight: Option<u16>
Weight is the relative weight the scheduler will use when scheduling I/O.
Trait Implementations§
Source§impl Debug for InspectBlkioWeightDevice
impl Debug for InspectBlkioWeightDevice
Source§impl Default for InspectBlkioWeightDevice
impl Default for InspectBlkioWeightDevice
Source§fn default() -> InspectBlkioWeightDevice
fn default() -> InspectBlkioWeightDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InspectBlkioWeightDevice
impl<'de> Deserialize<'de> for InspectBlkioWeightDevice
Source§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
Auto Trait Implementations§
impl Freeze for InspectBlkioWeightDevice
impl RefUnwindSafe for InspectBlkioWeightDevice
impl Send for InspectBlkioWeightDevice
impl Sync for InspectBlkioWeightDevice
impl Unpin for InspectBlkioWeightDevice
impl UnwindSafe for InspectBlkioWeightDevice
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