Struct rd_util::iocost::IoCostSysSave  
source · [−]pub struct IoCostSysSave {
    pub devnr: (u32, u32),
    pub enable: bool,
    pub model_ctrl_user: bool,
    pub qos_ctrl_user: bool,
    pub model: IoCostModelParams,
    pub qos: IoCostQoSParams,
}Expand description
Save /sys/fs/cgroup/io.cost.model,qos and restore them on drop.
Fields
devnr: (u32, u32)enable: boolmodel_ctrl_user: boolqos_ctrl_user: boolmodel: IoCostModelParamsqos: IoCostQoSParamsImplementations
sourceimpl IoCostSysSave
 
impl IoCostSysSave
Trait Implementations
sourceimpl Default for IoCostSysSave
 
impl Default for IoCostSysSave
sourcefn default() -> IoCostSysSave
 
fn default() -> IoCostSysSave
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for IoCostSysSave
impl Send for IoCostSysSave
impl Sync for IoCostSysSave
impl Unpin for IoCostSysSave
impl UnwindSafe for IoCostSysSave
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more