pub struct InspectBlkioWeightDevice {
pub path: Option<String>,
pub weight: Option<u16>,
}
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 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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InspectBlkioWeightDevice
impl Debug for InspectBlkioWeightDevice
Source§impl<'de> Deserialize<'de> for InspectBlkioWeightDevice
impl<'de> Deserialize<'de> for InspectBlkioWeightDevice
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectBlkioWeightDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectBlkioWeightDevice, <__D as Deserializer<'de>>::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§fn eq(&self, other: &InspectBlkioWeightDevice) -> bool
fn eq(&self, other: &InspectBlkioWeightDevice) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for InspectBlkioWeightDevice
impl Serialize for InspectBlkioWeightDevice
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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