reboot

Function reboot 

Source
pub async fn reboot(app: &mut App) -> Result<()>
Expand description

Restart the device, keeping everything it has persisted.

No confirmation: unlike a factory reset this destroys nothing, and the device comes back as itself. The handle is worthless afterward either way, so detach for the same reason factory_reset does.