pub struct BlkioWeight {
pub path: Option<String>,
pub weight: Option<StringOrNum>,
}Expand description
Block IO weight for a specific device.
Fields§
§path: Option<String>Path to the device (e.g., ‘/dev/sda’).
weight: Option<StringOrNum>Relative weight for the device, between 10 and 1000.
Trait Implementations§
Source§impl Clone for BlkioWeight
impl Clone for BlkioWeight
Source§fn clone(&self) -> BlkioWeight
fn clone(&self) -> BlkioWeight
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 BlkioWeight
impl Debug for BlkioWeight
Source§impl Default for BlkioWeight
impl Default for BlkioWeight
Source§fn default() -> BlkioWeight
fn default() -> BlkioWeight
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlkioWeightwhere
BlkioWeight: Default,
impl<'de> Deserialize<'de> for BlkioWeightwhere
BlkioWeight: Default,
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 Ord for BlkioWeight
impl Ord for BlkioWeight
Source§impl PartialEq for BlkioWeight
impl PartialEq for BlkioWeight
Source§impl PartialOrd for BlkioWeight
impl PartialOrd for BlkioWeight
Source§impl Serialize for BlkioWeight
impl Serialize for BlkioWeight
impl Eq for BlkioWeight
impl StructuralPartialEq for BlkioWeight
Auto Trait Implementations§
impl Freeze for BlkioWeight
impl RefUnwindSafe for BlkioWeight
impl Send for BlkioWeight
impl Sync for BlkioWeight
impl Unpin for BlkioWeight
impl UnsafeUnpin for BlkioWeight
impl UnwindSafe for BlkioWeight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.