pub struct DeviceValue {
pub path: String,
pub value: u64,
}Expand description
Device path plus weight, bandwidth, IOPS or latency, depending on the key.
Fields§
§path: String§value: u64Trait Implementations§
Source§impl Clone for DeviceValue
impl Clone for DeviceValue
Source§impl Debug for DeviceValue
impl Debug for DeviceValue
Source§impl From<DeviceValue> for Value<'static>
impl From<DeviceValue> for Value<'static>
Source§fn from(s: DeviceValue) -> Self
fn from(s: DeviceValue) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Value<'static>> for DeviceValue
impl TryFrom<Value<'static>> for DeviceValue
Auto Trait Implementations§
impl Freeze for DeviceValue
impl RefUnwindSafe for DeviceValue
impl Send for DeviceValue
impl Sync for DeviceValue
impl Unpin for DeviceValue
impl UnsafeUnpin for DeviceValue
impl UnwindSafe for DeviceValue
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