pub struct LinuxBlockIoDevice {
pub major: Option<i64>,
pub minor: Option<i64>,
}
Available on crate feature
v5
only.Expand description
LinuxBlockIODevice holds major:minor format supported in blkio cgroup
Fields§
§major: Option<i64>
Major is the device’s major number.
minor: Option<i64>
Minor is the device’s minor number.
Trait Implementations§
Source§impl Debug for LinuxBlockIoDevice
impl Debug for LinuxBlockIoDevice
Source§impl Default for LinuxBlockIoDevice
impl Default for LinuxBlockIoDevice
Source§fn default() -> LinuxBlockIoDevice
fn default() -> LinuxBlockIoDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxBlockIoDevice
impl<'de> Deserialize<'de> for LinuxBlockIoDevice
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 LinuxBlockIoDevice
impl RefUnwindSafe for LinuxBlockIoDevice
impl Send for LinuxBlockIoDevice
impl Sync for LinuxBlockIoDevice
impl Unpin for LinuxBlockIoDevice
impl UnwindSafe for LinuxBlockIoDevice
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