pub struct InspectBlkioWeightDevice {
pub path: Option<String>,
pub weight: Option<i32>,
}Expand description
InspectBlkioWeightDevice : 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<i32>Weight is the relative weight the scheduler will use when scheduling I/O.
Implementations§
Source§impl InspectBlkioWeightDevice
impl InspectBlkioWeightDevice
Sourcepub fn new() -> InspectBlkioWeightDevice
pub fn new() -> InspectBlkioWeightDevice
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.
Trait Implementations§
Source§impl Clone for InspectBlkioWeightDevice
impl Clone for InspectBlkioWeightDevice
Source§fn clone(&self) -> InspectBlkioWeightDevice
fn clone(&self) -> InspectBlkioWeightDevice
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 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
Source§impl PartialEq for InspectBlkioWeightDevice
impl PartialEq for InspectBlkioWeightDevice
Source§impl Serialize for InspectBlkioWeightDevice
impl Serialize for InspectBlkioWeightDevice
impl StructuralPartialEq for InspectBlkioWeightDevice
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