handle_soft_reboot

Function handle_soft_reboot 

Source
fn handle_soft_reboot<F>(
    soft_reboot_mode: Option<SoftRebootMode>,
    entry: Option<&BootEntry>,
    deployment_type: &str,
    execute_soft_reboot: F,
) -> Result<()>
where F: FnOnce() -> Result<()>,
Expand description

Handle soft reboot based on the configured mode